[feat] Add fromPath to matcher template

This commit is contained in:
olemorud
2023-03-14 17:38:18 +01:00
parent b651f721c4
commit 0de4817981
5 changed files with 19 additions and 22 deletions

View File

@@ -4,12 +4,13 @@
"owner": "gcc-problem-matcher",
"pattern": [
{
"regexp": "^.*?${{ BASE }}\/?(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
"regexp": "^(${{ BASE }})(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"fromPath": 1,
"file": 2,
"line": 3,
"column": 4,
"severity": 5,
"message": 6
}
]
}