Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Should match any line ending, including \r (Old Mac), \n (POSIX), and…
… \r\n (Windows)
  • Loading branch information
movermeyer committed Apr 20, 2015
1 parent ee2a8bc commit 8c0a124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linter-pyflakes.coffee
Expand Up @@ -16,7 +16,7 @@ class LinterPyflakes extends Linter

# A regex pattern used to extract information from the executable's output.
# regex: ""/path/to/python/file.py:28: redefinition of unused 'models' from line 5"
regex: ':(?<line>\\d+): (?<message>.*?)\n'
regex: ':(?<line>\\d+): (?<message>.*?)[\r\n]+'

constructor: (editor)->
super editor
Expand Down

0 comments on commit 8c0a124

Please sign in to comment.