Skip to content

Conversation

@whiteinge
Copy link
Owner

Why: The $ anchor would not match if a line ended in a ^M.

What needs this meets: Files with mixed Windows/UNIX line endings.

Possible side effects: Is the regex used here dependent on any
particular flags?

Why: The `$` anchor would not match if a line ended in a `^M`.

What needs this meets: Files with mixed Windows/UNIX line endings.

Possible side effects: Is the regex used here dependent on any
particular flags?
@whiteinge whiteinge merged commit 16b0806 into master Oct 30, 2018
@whiteinge whiteinge deleted the mixed-line-endings branch October 30, 2018 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants