For both regex and plain string comparison, the commit messages are being downcased. This means that when overriding the major and minor identifiers, one cannot use uppercase identifiers, such as MAJOR and MINOR.
As far as I can tell, this is not documented behavior.