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.
Description
Languages
JavaScript
99.5%
Makefile
0.3%
HTML
0.1%