REGEXHERO.NET

Saturday, June 12, 2010

Code Hinting for Replacement Groups

I was planning this one for awhile. I just needed to set aside some hours to build it.

Code hinting has been available for regular expressions for a couple months. But now all pro users will see code hinting for the replace box as well...

Code Hinting for Replacement Groups

You can see the named groups ${LastName} and ${FirstName} at the top of the list. My hope is that this will promote the use of named groups in regular expressions, rather than numbered groups. I think named groups have a way of better expressing the intention of the regular expression and to be able to select them from a list is pretty awesome.

Enjoy.

0 comments:

Post a Comment