regex in commit