Periodicity and repetitions in parameterized strings