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 / TW.php
blob4407c069ae43d60982c0e04becd25b0173f05948
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' => '886',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[2-9]\\d{7,8}$/',
15 'fixed' => '/^[2-8]\\d{7,8}$/',
16 'mobile' => '/^9\\d{8}$/',
17 'tollfree' => '/^800\\d{6}$/',
18 'premium' => '/^900\\d{6}$/',
19 'emergency' => '/^11[029]$/',
21 'possible' => array(
22 'general' => '/^\\d{8,9}$/',
23 'fixed' => '/^\\d{8,9}$/',
24 'mobile' => '/^\\d{9}$/',
25 'tollfree' => '/^\\d{9}$/',
26 'premium' => '/^\\d{9}$/',
27 'emergency' => '/^\\d{3}$/',