mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
33 lines
1.1 KiB
PHP
33 lines
1.1 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' => '966',
|
|
'patterns' => array(
|
|
'national' => array(
|
|
'general' => '/^(?:[1-467]|92)\\d{7}|5\\d{8}|8\\d{9}$/',
|
|
'fixed' => '/^(?:[12][24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}$/',
|
|
'mobile' => '/^(?:5[013-689]\\d|8111)\\d{6}$/',
|
|
'tollfree' => '/^800\\d{7}$/',
|
|
'uan' => '/^9200\\d{5}$/',
|
|
'shortcode' => '/^9(0[24-79]|33|40|66|8[59]|9[02-6])$/',
|
|
'emergency' => '/^99[7-9]$/',
|
|
),
|
|
'possible' => array(
|
|
'general' => '/^\\d{7,10}$/',
|
|
'fixed' => '/^\\d{7,8}$/',
|
|
'mobile' => '/^\\d{9,10}$/',
|
|
'tollfree' => '/^\\d{10}$/',
|
|
'uan' => '/^\\d{9}$/',
|
|
'shortcode' => '/^\\d{3}$/',
|
|
'emergency' => '/^\\d{3}$/',
|
|
),
|
|
),
|
|
);
|