Catch the severity level too and try and fix the filename match

This commit is contained in:
Peter Newman
2020-05-26 13:01:57 +01:00
parent 36d53fbddc
commit 29d3ef5655
+4 -3
View File
@@ -15,9 +15,10 @@
"owner": "codespell-matcher-warning",
"pattern": [
{
"regexp": "^WARNING:\\s+(.+):\\s+(.+)$",
"file": 2,
"message": 1
"regexp": "^(WARNING):\\s+(.+?):\\s+(.+)$",
"file": 3,
"severity": 1,
"message": 2
}
]
}