Closed joachim-n closed 4 years ago
Yes, it should be escaped indeed. But there is a bit more to it. See discussion in https://github.com/phpro/grumphp/issues/700
The git command behaves in a strange way depending on version and amount of searched reviewed with reserved keywords etc.
Feel free to improve the documentation where possible
Thanks for reporting!
I'm not sure I follow what's going on in #700... I've made a quick PR for the fix I had in mind.
That is ok. Thanks
The docs at https://github.com/phpro/grumphp/blob/master/doc/tasks/git_blacklist.md say:
Meanwhile, the example in the same file says:
Surely a '(' is a reserved regex character and should be escaped?