Make the warning pattern case insensitive.