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?
Greetings, Laurent_R, and thanks for the reply.
Oh yes. I'm keen on the \n v \r v \n\r thing, and you're absolutely correct. Except, in my case, I'm on a *NIX box, and I've written the files myself. So I know they're utf-8 (no BOM), with newlines, no "hard" returns. :)
Maybe it's just the examples I was reading (perlrequick, perlretut, and perlfaq6) but I got the impression that Perl RE wasn't greedy. More Perl RE reading, I guess.
Thanks again, for the response Laurent_R.
--Chris
Yes. What say about me, is true.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Perl RE; how to capture, and replace based on a block?
by Laurent_R (Canon) on Dec 18, 2013 at 18:36 UTC | |
by taint (Chaplain) on Dec 18, 2013 at 20:18 UTC |
In Section
Seekers of Perl Wisdom