Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-i18n/src/Validator/PhoneNumber/PG.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' => '675',
'patterns' => array(
'national' => array(
'general' => '/^[1-9]\d{6,7}$/',
'fixed' => '/^(?:3\d{2}|4[257]\d|5[34]\d|6(?:29|4[1-9])|85[02-46-9]|9[78]\d)\d{4}$/',
'mobile' => '/^(?:68|7[0-36]\d)\d{5}$/',
'tollfree' => '/^180\d{4}$/',
'voip' => '/^275\d{4}$/',
'emergency' => '/^000$/',
),
'possible' => array(
'general' => '/^\d{7,8}$/',
'fixed' => '/^\d{7}$/',
'mobile' => '/^\d{7,8}$/',
'tollfree' => '/^\d{7}$/',
'voip' => '/^\d{7}$/',
'emergency' => '/^\d{3}$/',
),
),
);