K
K. Shier
while writing a RegEx, you implicily name your Groups:
\b(?<month>\d{1,2})/(?<day>\d{1,2})/(?<year>\d{2,4})\b
so, why isn't .Name a property of a
System.Text.RegularExpressions.RegEx.Group?
more importantly, how can you refer to a Group by name in code?
\b(?<month>\d{1,2})/(?<day>\d{1,2})/(?<year>\d{2,4})\b
so, why isn't .Name a property of a
System.Text.RegularExpressions.RegEx.Group?
more importantly, how can you refer to a Group by name in code?