in reply to Re: Replacing line returns with br
in thread Replacing line returns with br

mac   \015
*nix  \012
dos   \015\012
So, my way of doing this is s/\015?\012|\015/<br>\n/g.

2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$