Windows line separators are stored as \r\n, while on *nix systems they are stored as \n.
For devs that have worked with RM on other platforms (or have published to other platforms), do new-lines become a problem?
Currently I'm assuming new-lines are stored as \r\n and that is what I am using in all of my note-parsing methods.
I can change it to use a regex like
To handle both cases. Just not sure how important this is.
For devs that have worked with RM on other platforms (or have published to other platforms), do new-lines become a problem?
Currently I'm assuming new-lines are stored as \r\n and that is what I am using in all of my note-parsing methods.
I can change it to use a regex like
Code:
/\r?\n/