Fixed regex pattern to properly require message files to have a dot before language.