Make format checking case-insensitive.
Merge pull request #2293 from vanilla/hotfix/case-insensitive-formats

Make format checking case-insensitive.