Commit keyword check: adding support for Regex