Right now I\'m doing a split on a string and assuming that the newline from the user is \\r\\n like so:
split
\\r\\n
string.split(/\\r\\n/) <
string.split(/\\r\\n/)
Did you try /\r?\n/ ? The ? makes the \r optional.
/\r?\n/
?
\r
Example usage: http://rubular.com/r/1ZuihD0YfF