named subpatterns to dictionary
Status: Beta
Brought to you by:
jengelhart
Unless I'm mistaken, in order to get the named subpatterns you use the getCapturesWithRegexAndReferences method and provide it with the names and storage locations. It would be nice to to have something similar to Pythons re matches groupdict method where a dictionary of all named subpattern matches is returned.