mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
35 lines
1.2 KiB
PHP
35 lines
1.2 KiB
PHP
<?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' => '852',
|
|
'patterns' => array(
|
|
'national' => array(
|
|
'general' => '/^[235-7]\\d{7}|8\\d{7,8}|9\\d{4,10}$/',
|
|
'fixed' => '/^(?:[23]\\d|5[78])\\d{6}$/',
|
|
'mobile' => '/^(?:5[1-69]\\d|6\\d{2}|9(?:0[1-9]|[1-8]\\d))\\d{5}$/',
|
|
'pager' => '/^7\\d{7}$/',
|
|
'tollfree' => '/^800\\d{6}$/',
|
|
'premium' => '/^900(?:[0-24-9]\\d{7}|3\\d{1,4})$/',
|
|
'personal' => '/^8[1-3]\\d{6}$/',
|
|
'emergency' => '/^112|99[29]$/',
|
|
),
|
|
'possible' => array(
|
|
'general' => '/^\\d{5,11}$/',
|
|
'fixed' => '/^\\d{8}$/',
|
|
'mobile' => '/^\\d{8}$/',
|
|
'pager' => '/^\\d{8}$/',
|
|
'tollfree' => '/^\\d{9}$/',
|
|
'premium' => '/^\\d{5,11}$/',
|
|
'personal' => '/^\\d{8}$/',
|
|
'emergency' => '/^\\d{3}$/',
|
|
),
|
|
),
|
|
);
|