Skip to content

Commit

Permalink
Merge pull request #10 from SublimeLinter/kaste-patch-1
Browse files Browse the repository at this point in the history
Fixup regex
  • Loading branch information
kaste authored Mar 16, 2018
2 parents e443e98 + d9f1093 commit 5051cd3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ class Xmllint(Linter):

syntax = 'xml'
cmd = 'xmllint --noout * -'
regex = (
r'^.+?:'
r'(?P<line>\d+):.+?: '
r'(?P<message>[^\r\n]+)\r?\n'
r'[^\r\n]*\r?\n'
r'(?P<col>[^\^]*)\^'
)
regex = r'^-:(?P<line>\d+):.+?: (?P<message>[^\r\n]+)(\r?\n[^\r\n]*\r?\n(?P<col>[^\^]*)\^)?'
multiline = True
error_stream = util.STREAM_STDERR

0 comments on commit 5051cd3

Please sign in to comment.