Can anyone spot the problem? It removes the character before and after the line ending.No it doesn't. Those are assertions, not included in the part of the string being replaced. Your problem must lie elsewhere.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Line ending transformation
by merlyn
in thread Line ending transformation
by iburrell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |