One of my favorite regular expression parlor tricks is this regular expression which matches collections with a prime number of elements in it.
/^(?!(.{2,})\1+$).+/
One of my favorite regular expression parlor tricks is this regular expression which matches collections with a prime number of elements in it.
/^(?!(.{2,})\1+$).+/
@strf0x It's definitely a whole new thing to learn xD
I just happened to have a summer where I was a less productive intern that I probably should've been that spent wayyyyy too much time on the regular expression questions on stackoverflow xD