Simon Willison’s Weblog

How Regexes Work (via) They’re just simplified syntax for constructing a state machine