UNPKG

regex-eol

Version:

Regular expression to split a newline delimited string.

17 lines (11 loc) 207 B
'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;