Handle with or without trailing space and match error too

This commit is contained in:
Peter Newman
2020-05-26 15:14:26 +01:00
parent 087de87351
commit 9561cf35f3
+3 -3
View File
@@ -1,7 +1,7 @@
{
"problemMatcher": [
{
"owner": "codespell-matcher-error",
"owner": "codespell-matcher-default",
"pattern": [
{
"regexp": "^(.+):(\\d+):\\s+(.+)$",
@@ -12,10 +12,10 @@
]
},
{
"owner": "codespell-matcher-warning",
"owner": "codespell-matcher-specified",
"pattern": [
{
"regexp": "^(WARNING):\\s+(.+):\\s+(.+)\\s+$",
"regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+)\\s*$",
"file": 3,
"severity": 1,
"message": 2