in reply to Is there really no @LAST_MATCH_START equivalent for named capture groups?
'%+' and '%-' are tied hashes, you may wanna dig into perlreapi and Tie::Hash::NamedCapture to find the capture group index corresponding to a name.
Otherwise you could use one of the RegEx parsing modules on the regex to associate name to index.
HTH.
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there really no @LAST_MATCH_START equivalent for named capture groups?
by LanX (Saint) on Jan 30, 2013 at 10:51 UTC |