Last active
December 15, 2015 16:39
-
-
Save acook/5291142 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
line_endings1 = /\r\n|\n\r|\n|\r/ | |
line_endings2 = /\r?\n|\n?\r/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would rather say
/\r\n|\n|\r/
. No need for the\n\r
.