Skip to content

Commit

Permalink
Improve matcher regex
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Apr 3, 2024
1 parent 4aa716b commit f5a32a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/pyright-matcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"file": 1
},
{
"regexp": "^(\\s\\s\\S*\\.py):(\\d+):(\\d+)\\s-\\s(error|warning|information):([\\s\\S]*?)(?=^(?:\\s\\s\\S*\\.py))",
"regexp": "^(\\s\\s\\S*\\.py):(\\d+):(\\d+)\\s-\\s(error|warning|information):([\\s\\S]+?)(?=(?:^\\s\\s\\S*\\.py:\\d+:\\d+\\s-\\s(?:error|warning|information):|\\z))",
"file": 1,
"line": 2,
"column": 3,
Expand Down

0 comments on commit f5a32a7

Please sign in to comment.