in reply to Re: Why does my Perl regex substitution for linebreak fail?
in thread Why does my Perl regex substitution for linebreak fail?
I agree. The original regex, as posed by pat mc, removes both \n rather than just the single one that pac mc said was wanted to be removed.
I also presume that pat mc (based upon the inquiry) is looking for regex solutions; but several of the other nodelets in this thread have some good ideas for alternativies to the regex approach.
|
|---|