ChatGPT - AST to Regex Conversion