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 / NO.php
blobe875d05a98fa450d4079b3f7cebe5dec9bd6dc40
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' => '47',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^0\\d{4}|[2-9]\\d{7}$/',
15 'fixed' => '/^(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}$/',
16 'mobile' => '/^(?:4[015-8]|5[89]|9\\d)\\d{6}$/',
17 'tollfree' => '/^80[01]\\d{5}$/',
18 'premium' => '/^82[09]\\d{5}$/',
19 'shared' => '/^810(?:0[0-6]|[2-8]\\d)\\d{3}$/',
20 'personal' => '/^880\\d{5}$/',
21 'voip' => '/^85[0-5]\\d{5}$/',
22 'uan' => '/^0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}$/',
23 'voicemail' => '/^81[23]\\d{5}$/',
24 'emergency' => '/^11[023]$/',
26 'possible' => array(
27 'general' => '/^\\d{5}(?:\\d{3})?$/',
28 'fixed' => '/^\\d{8}$/',
29 'mobile' => '/^\\d{8}$/',
30 'tollfree' => '/^\\d{8}$/',
31 'premium' => '/^\\d{8}$/',
32 'shared' => '/^\\d{8}$/',
33 'personal' => '/^\\d{8}$/',
34 'voip' => '/^\\d{8}$/',
35 'voicemail' => '/^\\d{8}$/',
36 'emergency' => '/^\\d{3}$/',