Added casefolding to Regex plugin.