The challenge requires you to match when a string is repeated ONLY three times in a string. Your regex still passes on 42 42 42 42
because it will match the first 3 42’s as you’ve explained, however, that is not what the challenge is looking for because 42 repeated 4 times in that string.
6 Likes