updating regex pattern for git status