pf » Tag: dotnet on Pete Freitag's Blog

Regular Expressions - Named Capture Groups

java misc I am porting some code from .NET to Java today, and found out about a very cool feature in regular expressions called Named Groups. Most regular expression implementations let you group text (which can then be used for back-references) using parenthesis, for example: my name is (pete).


This entry was:

Subscribe to my RSS Feed: solosub RSS
Tags