Handle with or without trailing space and match error too
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user