Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wongarsu
on June 21, 2023
|
parent
|
context
|
favorite
| on:
A regular expression to check for prime numbers (2...
The regular expression matches all non-primes (in base 1 encoding). 0 and 1 are not prime, so it matches them.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: