sshaw / git-link

Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location
399 stars 74 forks source link

Fix regexp for commit hash; support uppercase hash too #43

Closed kaushalmodi closed 7 years ago

kaushalmodi commented 7 years ago

Commit hash is a hexadecimal code -- 0..9, a..f

Also support commit hash in upper case.

Use string-match-p instead of string-match as the regexp comparison is done just for boolean check.

kaushalmodi commented 7 years ago

I have force pushed the fix to this branch.

sshaw commented 7 years ago

Thanks!