Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: s///g within m//g regionsby almr (Sexton) |
on Nov 09, 2021 at 15:52 UTC ( [id://11138627]=note: print w/replies, xml ) | Need Help?? |
Yes! Except the above breaks, because the inner s/// kills the existing capture groups. So, those must be saved. E.g.
In Section
Seekers of Perl Wisdom
|
|