Regex Generator Idea #68075
-
@stephentoub I had an idea this morning that I wanted to pass your way. Maybe it is irrelevant but I wanted to at least toss it in the bucket for consideration. I seem to recall you mentioning once that regexs like When I use regexes, I use parens so that I am very clear about how I'm capturing things, but I never index into the groups of a captured regex using their numeric index. I either want the whole value of text that the pattern matched or I want to extract explicit named captures. I speculate that other developers use regexes in a similar way as well. If |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
That already exists: |
Beta Was this translation helpful? Give feedback.
That already exists:
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regexoptions?view=net-6.0#system-text-regularexpressions-regexoptions-explicitcapture