in reply to (tye)Re: (Regex Madness) And you thought whitespace was easy.
in thread (Regex Madness) And you thought whitespace was easy.

If I don't reverse the string, then "\n\n\n" gets turned into " \n\n". If I reverse the string, do the change, and reverse it again, I get "\n\n " instead.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

  • Comment on Re: (tye)Re: (Regex Madness) And you thought whitespace was easy.