Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Perl RE; how to capture, and replace based on a block?

by taint (Chaplain)
on Dec 18, 2013 at 07:51 UTC ( #1067606=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^4: Perl RE; how to capture, and replace based on a block?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067606]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2015-07-30 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls