This version of splitLinesInclEol() does not use lookbehind assertions in regular expressions (which e.g. Safari hadn’t supported for a long time).
splitLinesInclEol()
https://caniuse.com/js-regexp-lookbehind
This version of
splitLinesInclEol()
does not use lookbehind assertions in regular expressions (which e.g. Safari hadn’t supported for a long time).