Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rawling
on March 5, 2022
|
parent
|
context
|
favorite
| on:
A regular expression to check for prime numbers (2...
I've done some Codewars problems where you have to write a regex to check whether an input number is divisible by a specific number, so I was really interested to see how that would work for primes.
Nope, it's just playing with lengths.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Nope, it's just playing with lengths.