Tighten regex to avoid matching the word 'commit' in message