t7810: avoid assumption about invalid regex syntax
[git] / contrib / workdir /
drwxr-xr-x   ..
-rwxr-xr-x 2402 git-new-workdir