Correcting regex match

Stops paths such as test_git, testgit etc.. being matched
Merge pull request #4 from redorkulated/patch-1

Correcting regex match