^.?$|^(..+?)\1+$
<answer>
Matches strings of any character repeated a non-prime number of times
You must log in or register to comment.
…either an empty string, a single character, or the same sequence of characters repeated more than once?
^.?$|^(..+?)\1+$
Matches strings of any character repeated a non-prime number of times
…either an empty string, a single character, or the same sequence of characters repeated more than once?