Allow colon or space or none in the bottom of commit SHA
Remove needless charactor in regexps