Closed gnomus closed 1 year ago
The current regex will match main_foo or foo_master since it resolves to ^main OR master$ and not ^main$ OR ^master$
main_foo
foo_master
^main
master$
^main$
^master$
I added a non-capturing group to the regex to prevent this.
indeed, thanks @gnomus! 🙇
coverage: 75.317%. remained the same when pulling fc216238ae03e04c75b011a753efe586dded07d8 on gnomus:main into 718e7303efe84117d1f8bdab1e4690ce05c9777f on mvisonneau:main.
The current regex will match
main_foo
orfoo_master
since it resolves to^main
ORmaster$
and not^main$
OR^master$
I added a non-capturing group to the regex to prevent this.