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

> So in summary there is no special thing here about this being a regex

No, I think the story is that it's an incredible thing to implement a prime test in a regex. It was a pretty neat thing 20+ years ago when I first saw it and I reckon it's still pretty neat.

The "JAPH" thing was a pretty cool thing too.

perl -e '$a = q 94a75737420616e6f74686572205065726c204861636b65720a9 and ${qq$\x5F$} = q 97265646f9 and s g..g; qq e\x63\x68\x72\x20\x30\x78$&eggee; {eval if $a =~ s e..eqq qprint chr 0x$& and \x71\x20\x71\x71qeexcess}'



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

Search: