Thompson NFA regular expression parser for Myrddin