That may be true in general, but the idea is to take the CRLF sequence in Unix (\n) and the CRLF sequence in Windows (\n\r) and replace either of them with <p>. To do that, one regex is simpler than two. | [reply] |
FYI when I am on Unix looking at files from DOS, the
end of line sequence is \r\n, not \n\r.
| [reply] |
a character case won't solve that :)
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.
| [reply] |
You're right. That's why that was a bug. :) A better solution would have been s/\n\r?/<p>/g;, not that character class.
| [reply] [d/l] |