Skip to content

Commit

Permalink
Fix the regexp for arc lint to correctly only match a single line.
Browse files Browse the repository at this point in the history
  • Loading branch information
csilvers committed Oct 13, 2015
1 parent c48aec9 commit d06a53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .arclint
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"khan-linter": {
"type": "script-and-regex",
"script-and-regex.script": "ka-lint --always-exit-0 --blacklist=yes --propose-arc-fixes",
"script-and-regex.regex": "\/^((?P<file>[^:]*):(?P<line>\\d+):((?P<char>\\d+):)? (?P<name>((?P<error>E)|(?P<warning>W))\\S+) (?P<message>[^\\x00]*)(\\x00(?P<original>[^\\x00]*)\\x00(?P<replacement>[^\\x00]*)\\x00)?)|(?P<ignore>SKIPPING.*)$\/m"
"script-and-regex.regex": "\/^((?P<file>[^:]*):(?P<line>\\d+):((?P<char>\\d+):)? (?P<name>((?P<error>E)|(?P<warning>W))\\S+) (?P<message>[^\\x00\n]*)(\\x00(?P<original>[^\\x00]*)\\x00(?P<replacement>[^\\x00]*)\\x00)?)|(?P<ignore>SKIPPING.*)$\/m"
}
}
}
Expand Down

0 comments on commit d06a53b

Please sign in to comment.