[feat] Make regex eat trailing '/' in group 1

This commit is contained in:
olemorud
2023-03-15 10:56:44 +01:00
parent dd72791927
commit ae82e15273
4 changed files with 7 additions and 7 deletions

View File

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