Permalink
Browse files

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 8c0a12478f138451c13fc32e0e3c5fe4116a947e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/linter-pyflakes.coffee
@@ -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

0 comments on commit 8c0a124

Please sign in to comment.