Don't ask to ask, just ask | |
PerlMonks |
Re^2: Refer by relative way to regex group (eg. the last one)by RMGir (Prior) |
on Jan 19, 2022 at 14:28 UTC ( [id://11140608]=note: print w/replies, xml ) | Need Help?? |
The \g{-1} syntax is interesting, I don't recall that one. When did it come about? (Of course, it's possible it's been around since Perl 4 and I just missed it :) )
Mike
In Section
Seekers of Perl Wisdom
|
|