UNPKG
regex-eol
Version:
latest (1.0.0)
1.0.0
0.0.0
Regular expression to split a newline delimited string.
github.com/kgryte/regex-eol
kgryte/regex-eol
regex-eol
/
lib
/
index.js
17 lines
(11 loc)
•
207 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'use strict'
;
var
re =
/\r?\n/
;
/* Matches a newline character sequence. \r? - match a carriage return character (optional) \n - match a line feed character */
// EXPORTS //
module
.
exports
= re;