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


in reply to Re^3: Perl RE; how to capture, and replace based on a block?
in thread Perl RE; how to capture, and replace based on a block?

Perl said; Success.

Thanks a million, hdb! Your suggestion has helped me greatly in putting the last piece in my current "puzzle".

Thanks again. I'd like to buy a round of +'s, for the house.

--Chris

UPDATE; I forgot to mention. The reason I was feeding the file to Perl is
1) That's what worked best for me with sed.
2) It seemed the easiest way to experiment getting a correct match with Perl.
Yes. What say about me, is true.