The regex is wrong when the number of repeats has more than 1 digit.
The regex is wrong when the number of repeats has more than 1 digit.