mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
39 lines
1.4 KiB
PHP
39 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* Zend Framework (http://framework.zend.com/)
|
|
*
|
|
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
|
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
|
*/
|
|
|
|
return array(
|
|
'code' => '31',
|
|
'patterns' => array(
|
|
'national' => array(
|
|
'general' => '/^1\\d{4,8}|[2-7]\\d{8}|[89]\\d{6,9}$/',
|
|
'fixed' => '/^(?:1[0135-8]|2[02-69]|3[0-68]|4[0135-9]|[57]\\d|8[478])\\d{7}$/',
|
|
'mobile' => '/^6[1-58]\\d{7}$/',
|
|
'pager' => '/^66\\d{7}$/',
|
|
'tollfree' => '/^800\\d{4,7}$/',
|
|
'premium' => '/^90[069]\\d{4,7}$/',
|
|
'voip' => '/^85\\d{7}$/',
|
|
'uan' => '/^140(?:1(?:[035]|[16-8]\\d)|2(?:[0346]|[259]\\d)|3(?:[03568]|[124]\\d)|4(?:[0356]|[17-9]\\d)|5(?:[0358]|[124679]\\d)|7\\d|8[458])$/',
|
|
'shortcode' => '/^18\\d{2}$/',
|
|
'emergency' => '/^112|911$/',
|
|
),
|
|
'possible' => array(
|
|
'general' => '/^\\d{5,10}$/',
|
|
'fixed' => '/^\\d{9}$/',
|
|
'mobile' => '/^\\d{9}$/',
|
|
'pager' => '/^\\d{9}$/',
|
|
'tollfree' => '/^\\d{7,10}$/',
|
|
'premium' => '/^\\d{7,10}$/',
|
|
'voip' => '/^\\d{9}$/',
|
|
'uan' => '/^\\d{5,6}$/',
|
|
'shortcode' => '/^\\d{4}$/',
|
|
'emergency' => '/^\\d{3}$/',
|
|
),
|
|
),
|
|
);
|