Regex now uses generated parser and lexer