Simon Willison’s Weblog

Subscribe

1 item tagged “primenumbers”

2007

Primality regex. A regular expression that can identify prime numbers. Unsurprisingly, this one comes from the Perl community. # 18th March 2007, 1:17 am