Or, if you're sure no \ns or \rs will appear in the middle of lines, you can do it even more simply:
split /[\n\r]+/, ...In reply to Re: Re: Re: line endings in remote documents
by premchai21
in thread line endings in remote documents
by Amoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |