|Welcome to the Monastery|
Re^2: Perl RE; how to capture, and replace based on a block?by taint (Chaplain)
|on Dec 18, 2013 at 07:11 UTC||Need Help??|
Thank you educated_foo.
" Keep adding "VAR," between the parens in #2 as long as Perl complains about 'Global symbol "VAR"...'
Someone should probably write an Acme:: module to do this automatically."
My biggest hangup, I think, is that I'm quite comfortable with sed. But sed is "greedy" by default, and while Perl RE can be. It's not, by default, and that's what I need here (not greedy).
will match my pattern in sed. But it will match from the first </div> till the first </body>. Which is too much.
Thanks again for the response, educated_foo
Yes. What say about me, is true.