Coprimality test with a regular expression | Hacker News Reader