Ignore reg ex errors generated from bad minus sign chars in locale 'ar','fa', 'he', 'ks', 'uz_Arab','ur','root'.