Regex AST parsing works