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

The composite (or prime) filter regexp is brilliant.

    $^(11+)(\1)+$
see OPs linked article http://zmievski.org/2010/08/the-prime-that-wasnt for details


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

Search: