From b90f08a647b103dfb195ad8043e21cd021c6d910 Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Thu, 10 Oct 2019 15:01:09 -0400 Subject: [PATCH 1/4] Using correct msCompile regex --- .github/csc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/csc.json b/.github/csc.json index 764ede5..70e71d8 100644 --- a/.github/csc.json +++ b/.github/csc.json @@ -4,7 +4,7 @@ "owner": "csc", "pattern": [ { - "regexp": "^([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(CS\\d+)\\s*:\\s*(.*)$", + "regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$ "file": 1, "location": 2, "severity": 3, @@ -14,4 +14,4 @@ ] } ] -} \ No newline at end of file +} From 893aeb5420073ea4256537e1037c539f9d7ad71b Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Thu, 10 Oct 2019 15:05:42 -0400 Subject: [PATCH 2/4] Fix my missing quote --- .github/csc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/csc.json b/.github/csc.json index 70e71d8..7abd1aa 100644 --- a/.github/csc.json +++ b/.github/csc.json @@ -4,7 +4,7 @@ "owner": "csc", "pattern": [ { - "regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$ + "regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$", "file": 1, "location": 2, "severity": 3, From 39bfcfef74694d199100e603667c24620f8c2657 Mon Sep 17 00:00:00 2001 From: Tingluo Huang Date: Thu, 10 Oct 2019 17:25:06 -0400 Subject: [PATCH 3/4] Update csc.json --- .github/csc.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/csc.json b/.github/csc.json index 7abd1aa..8b2b78a 100644 --- a/.github/csc.json +++ b/.github/csc.json @@ -4,12 +4,13 @@ "owner": "csc", "pattern": [ { - "regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$", + "regexp": "^(?:\s+\d+\>)?([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\)\s*:\s+(error|warning|info)\s+(\w{1,2}\d+)\s*:\s*(.*)(\[(.+)\/([^\/]+)\])$", "file": 1, "location": 2, "severity": 3, "code": 4, - "message": 5 + "message": 5, + "fromPath": 7 } ] } From 5689bbdcd0653fb070334d9611dbb77063f74cf1 Mon Sep 17 00:00:00 2001 From: Tingluo Huang Date: Thu, 10 Oct 2019 17:27:21 -0400 Subject: [PATCH 4/4] Update csc.json --- .github/csc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/csc.json b/.github/csc.json index 8b2b78a..7033f22 100644 --- a/.github/csc.json +++ b/.github/csc.json @@ -4,7 +4,7 @@ "owner": "csc", "pattern": [ { - "regexp": "^(?:\s+\d+\>)?([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\)\s*:\s+(error|warning|info)\s+(\w{1,2}\d+)\s*:\s*(.*)(\[(.+)\/([^\/]+)\])$", + "regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)(\\[(.+)\\/([^\\/]+)\\])$", "file": 1, "location": 2, "severity": 3,