Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-i18n/src/Validator/PhoneNumber/GE.php
Строк: 24
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
return array(
'code' => '995',
'patterns' => array(
'national' => array(
'general' => '/^[3458]\d{8}$/',
'fixed' => '/^(?:3(?:[256]\d|4[124-9]|7[0-4])|4(?:1\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\d{6}$/',
'mobile' => '/^5(?:14|5[01578]|68|7[0147-9]|9[0-35-9])\d{6}$/',
'tollfree' => '/^800\d{6}$/',
'emergency' => '/^0(?:11|22|33)|1(?:1[123]|22)$/',
),
'possible' => array(
'general' => '/^\d{6,9}$/',
'fixed' => '/^\d{6,9}$/',
'mobile' => '/^\d{9}$/',
'tollfree' => '/^\d{9}$/',
'emergency' => '/^\d{3}$/',
),
),
);