|
|
@@ -522,7 +522,7 @@ class Zend_Locale_Format
|
|
|
private static function _getRegexForType($type, $options)
|
|
|
{
|
|
|
$decimal = Zend_Locale_Data::getContent($options['locale'], $type);
|
|
|
- $decimal = preg_replace('/[^#0,;\.\-Ee]/', '',$decimal);
|
|
|
+ $decimal = preg_replace('/[^#0,;\.\-Ee]/u', '',$decimal);
|
|
|
$patterns = explode(';', $decimal);
|
|
|
|
|
|
if (count($patterns) == 1) {
|
|
|
@@ -608,7 +608,7 @@ class Zend_Locale_Format
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- $regex[$pkey] .= '$/';
|
|
|
+ $regex[$pkey] .= '$/u';
|
|
|
}
|
|
|
|
|
|
return $regex;
|