Profile
Achievement
banzaiman's Recent SnippetsTagged regex
- All /
« Prev 1 Next »
By the legendary abigail. Fails to match if and only if it is matched against a prime number of 1's. That is, '11' fails, but '1111' does not.
I once heard him talk why this works, but I forgot most of it.
3
859
posted 16 years ago by banzaiman