Simon Willison’s Weblog

Subscribe

Primality regex. A regular expression that can identify prime numbers. Unsurprisingly, this one comes from the Perl community.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe