Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Before seeing the regex, I was thinking, how can you possibly recognize a prime number with a regular language?

The answer is, you don't, this regex doesn't describe a regular language



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: