http://www.perlmonks.org?node_id=20975


in reply to Re: Regexp: not what I'd expected
in thread Regexp: not what I'd expected

Aha, I have it. sed did it. I was thinking sed-wise. It wouldn't have cared about the un-escaped brackets in the replacement. (Trying to save face...failing...)