Stricter lineBreak regexp
Checking for `\r\n?` is redundant with the `|[\n\r\u2028\u2029]`, better straighten the regexp and check for `\r\n|[\n\r\u2028\u2029]`. This might even be a itsy bitsty bit faster.
This commit is contained in:
parent
7feb14c0ea
commit
bb6687e3d1
Loading…
x
Reference in New Issue
Block a user