Closed smashwilson closed 6 years ago
Now that superstring is using "any" line ending mode, the ^ in LFRegExp was matching between "\r\n" sequences, causing all CRLF files to be detected as "Mixed". Use \A to anchor specifically to the beginning of the buffer instead.
^
\A
Now that superstring is using "any" line ending mode, the
^
in LFRegExp was matching between "\r\n" sequences, causing all CRLF files to be detected as "Mixed". Use\A
to anchor specifically to the beginning of the buffer instead.