Your example helps better explain why I got the impression Perl was not greedy, the way sed is. Most all the examples I read in the perldocs, used .*?. But my experiments, and re-training myself with Perl RE's. Seems to show, once I get out of the sed habits. Perl will be a lot more flexible, and powerful. I should have started this a l-o-o-n-g time ago. :P
Thanks again, Laurent_R. I really appreciate it.
--Chris
Yes. What say about me, is true.
In reply to Re^6: Perl RE; how to capture, and replace based on a block?
by taint
in thread Perl RE; how to capture, and replace based on a block?
by taint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |