updated regex for git 1.8 messaging