Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-i18n/src/Validator/PhoneNumber/SB.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' => '677',
'patterns' => array(
'national' => array(
'general' => '/^[1-9]\d{4,6}$/',
'fixed' => '/^(?:1[4-79]|[23]\d|4[01]|5[03]|6[0-37])\d{3}$/',
'mobile' => '/^48\d{3}|7(?:[46-8]\d|5[025-9]|90)\d{4}|8[4-8]\d{5}|9(?:[46]\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\d{4}$/',
'tollfree' => '/^1[38]\d{3}$/',
'voip' => '/^5[12]\d{3}$/',
'shortcode' => '/^1(?:0[02-79]|1[12]|2[0-26]|4[189]|68)|9(?:[01]1|22|33|55|77|88)$/',
'emergency' => '/^999$/',
),
'possible' => array(
'general' => '/^\d{5,7}$/',
'fixed' => '/^\d{5}$/',
'tollfree' => '/^\d{5}$/',
'voip' => '/^\d{5}$/',
'shortcode' => '/^\d{3}$/',
'emergency' => '/^\d{3}$/',
),
),
);