2023-03-11 12:04:29 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Zend Framework (http://framework.zend.com/)
|
|
|
|
*
|
|
|
|
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
2023-04-01 09:03:34 +03:00
|
|
|
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
2023-03-11 12:04:29 +03:00
|
|
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
|
|
|
*/
|
|
|
|
|
|
|
|
return array(
|
|
|
|
'code' => '504',
|
|
|
|
'patterns' => array(
|
|
|
|
'national' => array(
|
|
|
|
'general' => '/^[237-9]\\d{7}$/',
|
|
|
|
'fixed' => '/^2(?:2(?:0[019]|1[1-36]|[23]\\d|4[056]|5[57]|8[0146-9]|9[012])|4(?:2|3-59]|3[13-689]|4[0-68]|5[1-35])|5(?:4[3-5]|5\\d|6[56]|74)|6(?:4[0-378]|[56]\\d|[78][0-8]|9[01])|7(?:6[46-9]|7[02-9]|8[34])|8(?:79|8[0-35789]|9[1-57-9]))\\d{4}$/',
|
|
|
|
'mobile' => '/^[37-9]\\d{7}$/',
|
|
|
|
'emergency' => '/^199$/',
|
|
|
|
),
|
|
|
|
'possible' => array(
|
|
|
|
'general' => '/^\\d{8}$/',
|
|
|
|
'emergency' => '/^\\d{3}$/',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|