^.?$|^(..+?)\1+$
<answer>
Matches strings of any character repeated a non-prime number of times
You must log in or register to comment.
Just waiting for the oppertunity to hide this in prod.
^.?$|^(..+?)\1+$
Matches strings of any character repeated a non-prime number of times
Just waiting for the oppertunity to hide this in prod.