Merge pull request #293 from pre-commit/dont_match_whitespace_regex

Improve vcs regex (don't match whitespace)