^.?$|^(..+?)\1+$
<answer>
Matches strings of any character repeated a non-prime number of times
You must log in or register to comment.
The pipe is throwing me off because usually I have to do parentheses for that to work…
^.?$|^(..+?)\1+$
Matches strings of any character repeated a non-prime number of times
The pipe is throwing me off because usually I have to do parentheses for that to work…