Open tomtau opened 1 year ago
I'm new to pest, but I'd like to have a look at this and help out!
Could you describe a bit more what the desired end result is? I saw https://pest.rs/#editor, which closely matches what I thought you meant with "regex101 for pest".
@alexkeizer have you tried the command line version of the pest debugger?
I just tried it a bit, but most of all I just noticed that regex101 has an actual step-by-step debugger going on (I only knew it for the match highlighting), so now the reference makes a lot more sense.
So, more specifically, you're looking for something like https://regex101.com/debugger for pest, correct?
Yes, perhaps one more potential way could be tracing in a collapsable HTML tree like in this tool:
The pest_debugger core functionality has been extracted to a standalone crate that could be used in frontends other than a command line. It will be cool to have something like regex101 for pest.