My program can accept data that has newline characters of \\n, \\r\\n or \\r (eg Unix, PC or Mac styles)
What is the best way to construct a regular expression that
The pattern can be simplified to \r?\n for a little performance gain, as you probably don't have to deal with the old Mac style (OS 9 is unsupported since February 2002).
\r?\n