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 / BY.php
blobeeb103181ad450873eb0367e5c137bcf617f3762
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' => '375',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[1-4]\\d{8}|[89]\\d{9,10}$/',
15 'fixed' => '/^(?:1(?:5(?:1[1-5]|2\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d{2})|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:2\\d|3[02-79]|4[024-7]|5[0-7])))\\d{5}$/',
16 'mobile' => '/^(?:2(?:5[5679]|9[1-9])|33\\d|44\\d)\\d{6}$/',
17 'tollfree' => '/^8(?:0[13]|20\\d)\\d{7}$/',
18 'premium' => '/^(?:810|902)\\d{7}$/',
19 'emergency' => '/^1(?:0[123]|12)$/',
21 'possible' => array(
22 'general' => '/^\\d{7,11}$/',
23 'fixed' => '/^\\d{7,9}$/',
24 'mobile' => '/^\\d{9}$/',
25 'tollfree' => '/^\\d{10,11}$/',
26 'premium' => '/^\\d{10}$/',
27 'emergency' => '/^\\d{3}$/',