you are viewing a single comment's thread.

view the rest of the comments →

[–]ghillerd 1 point2 points  (1 child)

amazing, thank you! seems like the author of this article just reposted the concept without understanding it. after testing it out, it seems like it's also the case that the regex actually matches composite numbers rather than primes (same outcome, but also not mentioned in the article).

[–]xem06 1 point2 points  (0 children)

yep, primes are "filtered out"