Regex101 icon indicating copy to clipboard operation
Regex101 copied to clipboard

Debugger for C# Engine

Open bburgess19 opened this issue 3 years ago • 3 comments

Feature

I would love it if the C# engine had a debugger! I constantly have to change back to PCRE to find out why my regices fail, and while it's a functional workaround, it's certainly not ideal (not to mention there are idiosyncrasies between the two engines).

bburgess19 avatar May 05 '22 13:05 bburgess19

Does the .net engine allow for this type of information? I would need to know where the engine is positioned both in the regex and the input string.

firasdib avatar Jul 14 '22 14:07 firasdib

I'm not sure if it offers this information... does the .NET regex engine have to be open sourced in order for you to implement a solution?

bburgess19 avatar Jul 14 '22 16:07 bburgess19

@bburgess19 I don't think that parts relevant, only if it can produce the information I need or not ... :)

Do you want to investigate?

firasdib avatar Jul 15 '22 06:07 firasdib

Does the .net engine allow for this type of information? I would need to know where the engine is positioned both in the regex and the input string.

Where can I find this in PCRE? I want debugger in .net regex too because it is pretty complicated.

nanikit avatar Jan 28 '23 18:01 nanikit