ZF-12256: Zend_Locale_Format::isNumber regexes are failing for en_IN locale and numbers with one digit
Description
Validation on numbers between -9 and 9 (with one digit) fails the isNumber check if the locale is set to 'en_IN'.
$locale = new Zend_Locale('en_IN');
$number = 1;
$isnumber = var_export(Zend_Locale_Format::isNumber($number, array('locale' => $locale)),true); // returns false value with $number = 1
Comments
No comments to display