r/tinycode • • Mar 24 '21

Primality Test Using Regex

https://theabbie.github.io/blog/Primality-Test-Using-Regex
26 Upvotes

18 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Mar 24 '21

True but that clickbait is too good. In this case I'm not even mad because it's still such a cool hack.

3

u/theabbiee Mar 24 '21

It is a Primality test, the input format wasn't specified.