Re:A regular expression to check for prime numbers
by wongarsu on Tuesday June 20, 2023 @09:50PM
(#36413373)
The regular expression matches all non-primes (in base 1 encoding). 0 and 1 are not prime, so it matches them.
[ Parent
| on HN ]
There are no comments on this comment yet.