Skip to main content

AST for regex

No replies
Joined: 2004-10-07

It would be nice if Mustang provided a "javax" package that exposes an abstract syntax tree for Java regular expressions.

This would help in writing a regex editor. One could take a regex string entered by a user, convert it to a regex AST, and then render it in a user-friendly way.