Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Greatest Regex Trick Ever (2014). Parent comment
https://itnext.io/a-wild-way-to-check-if-a-number-is-prime-u...
The main trick for me was you first have to convert the number to unary, which was done outside of the regex.
There are no comments on this comment yet.
https://itnext.io/a-wild-way-to-check-if-a-number-is-prime-u...
The main trick for me was you first have to convert the number to unary, which was done outside of the regex.