^.?$|^(..+?)\1+$
<answer>
Matches strings of any character repeated a non-prime number of times
0 points
3 points
And then a few more any time you actually want to use it.
And then double it each time you have to decipher the existing one
Just don’t use regex unless there is really no other way, and when you absolutely have to - frankly, that’s one of the ultra rare occasions I recommend using the AI.
8 points
-1 points
*
That I do, yes, because that’s a small chunk of code that - when necessary - would have to be completely remade anyways, not just modified.