A reimplementation of Rob Pike's simplified regular expression matcher from Beautiful Code.