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 / SR.php
blob56f3c0d7937bf39e2e5541524ac3cb5bee3a109e
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' => '597',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[2-8]\\d{5,6}$/',
15 'fixed' => '/^(?:2[1-3]|3[0-7]|4\\d|5[2-58]|68\\d)\\d{4}$/',
16 'mobile' => '/^(?:7[1-57]|8[1-9])\\d{5}$/',
17 'voip' => '/^56\\d{4}$/',
18 'shortcode' => '/^1(?:[02-9]\\d|1[0-46-9]|\\d{3})$/',
19 'emergency' => '/^115$/',
21 'possible' => array(
22 'general' => '/^\\d{6,7}$/',
23 'mobile' => '/^\\d{7}$/',
24 'voip' => '/^\\d{6}$/',
25 'shortcode' => '/^\\d{3,4}$/',
26 'emergency' => '/^\\d{3}$/',