A Visualizer, Debugger and Editor for C# Regex #122786
Unanswered
longxya
asked this question in
Show and tell
Replies: 1 comment
-
|
An interactive console demo is provided for experimenting with the regex parser. Input a regex expression, then type |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ADDRESS:
GitHub
regexdev
Basic demonstration
C#'s regex engine is extremely powerful, especially with advanced features like balancing groups. However, most existing regex tools don't support C#-specific features.
I built regexdev to visualize and debug C#-style regex with full support for advanced features like balancing groups.
Key Features:
Verification of Correctness:
To ensure the accuracy of the matching process, regexdev continuously compares the results against the official C# regex engine:
GroupIf any discrepancies are detected, the tool immediately reports it.
At the moment, only the regex parser is open-source, which has been rewritten with a clean AST-based design for better visualization and extensibility. The full debugger are still being refactored and are not open-sourced yet.
Especially:
I wrote a C# regex parser to replace the lexer and handle most grammar checks.
I didn’t want to write a lexical analyzer.
Feedback, suggestions, and discussions are very welcome!
Beta Was this translation helpful? Give feedback.
All reactions