agentzh's fork of Russ Cox's re1 toy regex library