Coprimality test with a regular expression · HackerTrans