A combinatorial view on string attractors