Simon Willison’s Weblog

Lexical Analysis, Python-style (via) Clever trick using named groups in regular expressions.