Skip to content

Commit

Permalink
Properly fix the regex to optionally ignore the trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed May 26, 2020
1 parent fa77482 commit a60df2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codespell-matcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"owner": "codespell-matcher-specified",
"pattern": [
{
"regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+)\\s*$",
"regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+)\\s+?$",
"file": 3,
"severity": 1,
"message": 2
Expand Down

0 comments on commit a60df2a

Please sign in to comment.