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 / BO.php
blob89be909be3e665c5696eae290c45c2f65f790741
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' => '591',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[23467]\\d{7}$/',
15 'fixed' => '/^(?:2(?:2\\d{2}|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d{2}|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:2\\d|3[234]|4[248]|5[24]|6[2-6]|7\\d))|4(?:4\\d{2}|6(?:11|[24689]\\d|72)))\\d{4}$/',
16 'mobile' => '/^[67]\\d{7}$/',
17 'emergency' => '/^11[089]$/',
19 'possible' => array(
20 'general' => '/^\\d{7,8}$/',
21 'fixed' => '/^\\d{7,8}$/',
22 'mobile' => '/^\\d{8}$/',
23 'emergency' => '/^\\d{3}$/',