Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / I18n / Validator / PhoneNumber / NG.php
blob70496c960f498b071129d39a59e1d0a1f956e876
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 return array(
11 'code' => '234',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[1-69]\\d{5,8}|[78]\\d{5,13}$/',
15 'fixed' => '/^[12]\\d{6,7}|9\\d{7}|(?:3\\d|4[023568]|5[02368]|6[02-469]|7[4-69]|8[2-9])\\d{6}|(?:4[47]|5[14579]|6[1578]|7[0-357])\\d{5,6}|(?:78|41)\\d{5}$/',
16 'mobile' => '/^(?:1(?:7[34]\\d|8(?:04|[124579]\\d|8[0-3])|95\\d)|287[0-7]|3(?:18[1-8]|88[0-7]|9(?:8[5-9]|6[1-5]))|4(?:28[0-2]|6(?:7[1-9]|8[02-47])|88[0-2])|5(?:2(?:7[7-9]|8\\d)|38[1-79]|48[0-7]|68[4-7])|6(?:2(?:7[7-9]|8\\d)|4(?:3[7-9]|[68][129]|7[04-69]|9[1-8])|58[0-2]|98[7-9])|7(?:38[0-7]|69[1-8]|78[2-4])|8(?:28[3-9]|38[0-2]|4(?:2[12]|3[147-9]|5[346]|7[4-9]|8[014-689]|90)|58[1-8]|78[2-9]|88[5-7])|98[07]\\d)\\d{4}|(?:70(?:[3-9]\\d|2[1-9])|8(?:0[2-9]|1\\d)\\d)\\d{6}$/',
17 'tollfree' => '/^800\\d{7,11}$/',
18 'uan' => '/^700\\d{7,11}$/',
19 'emergency' => '/^199$/',
21 'possible' => array(
22 'general' => '/^\\d{5,14}$/',
23 'fixed' => '/^\\d{5,9}$/',
24 'mobile' => '/^\\d{8,10}$/',
25 'tollfree' => '/^\\d{10,14}$/',
26 'uan' => '/^\\d{10,14}$/',
27 'emergency' => '/^\\d{3}$/',