in reply to Can't figure out why capture group is not output by substitution regex
I'm not sure why I have to do that.
You have to do it because your second (inner) s/// resets the capture groups.
🦛
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Can't figure out why capture group is not output by substitution regex
by nysus (Parson) on Aug 24, 2020 at 16:14 UTC |
In Section
Seekers of Perl Wisdom