From d06a53b01752d64e7212b2796489582a95f953e9 Mon Sep 17 00:00:00 2001 From: Craig Silverstein Date: Tue, 13 Oct 2015 14:48:53 -0700 Subject: [PATCH] Fix the regexp for arc lint to correctly only match a single line. Auditors: mroth Test Plan: cf. https://phabricator.khanacademy.org/rKLc9b1ea71 --- .arclint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.arclint b/.arclint index f1c5fc5..b9a9317 100644 --- a/.arclint +++ b/.arclint @@ -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[^:]*):(?P\\d+):((?P\\d+):)? (?P((?PE)|(?PW))\\S+) (?P[^\\x00]*)(\\x00(?P[^\\x00]*)\\x00(?P[^\\x00]*)\\x00)?)|(?PSKIPPING.*)$\/m" + "script-and-regex.regex": "\/^((?P[^:]*):(?P\\d+):((?P\\d+):)? (?P((?PE)|(?PW))\\S+) (?P[^\\x00\n]*)(\\x00(?P[^\\x00]*)\\x00(?P[^\\x00]*)\\x00)?)|(?PSKIPPING.*)$\/m" } } }