Skip to content
Snippets Groups Projects
Commit 32f00908 authored by Jean-Michel Picod's avatar Jean-Michel Picod
Browse files

Try to fix yapf matcher

parent b486ff44
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"owner": "yapf-diff", "owner": "yapf-diff",
"pattern": [ "pattern": [
{ {
"regexp": "^[+-]{3}\\s*([^\\s]*)\\s*\\((original|reformatted)\\)$", "regexp": "^(?:---|\\+\\+\\+)\\s*([^\\s]*)\\s*\\((?:original|reformatted)\\)$",
"file": 1 "file": 1
}, },
{ {
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"column": 2 "column": 2
}, },
{ {
"regexp": "^(\\s|\\+[^+]|\\-[^-]).*$", "regexp": "^((?:\\s|\\+[^+]|\\-[^-]).*)$",
"loop": true, "loop": true,
"message": 1 "message": 1
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment