http://qs321.pair.com?node_id=11121036


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.


🦛