'%+' 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
In reply to Re: Is there really no @LAST_MATCH_START equivalent for named capture groups?
by LanX
in thread Is there really no @LAST_MATCH_START equivalent for named capture groups?
by smls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |