• root's avatar
    fserver · a0a3ef35
    root authored
    a0a3ef35
TO.php 881 Bytes
<?php

/**
 * @see       https://github.com/laminas/laminas-i18n for the canonical source repository
 * @copyright https://github.com/laminas/laminas-i18n/blob/master/COPYRIGHT.md
 * @license   https://github.com/laminas/laminas-i18n/blob/master/LICENSE.md New BSD License
 */

return [
    'code' => '676',
    'patterns' => [
        'national' => [
            'general' => '/^[02-8]\\d{4,6}$/',
            'fixed' => '/^(?:2\\d|3[1-8]|4[1-4]|[56]0|7[0149]|8[05])\\d{3}$/',
            'mobile' => '/^(?:7[578]|8[7-9])\\d{5}$/',
            'tollfree' => '/^0800\\d{3}$/',
            'emergency' => '/^9(?:11|22|33|99)$/',
        ],
        'possible' => [
            'general' => '/^\\d{5,7}$/',
            'fixed' => '/^\\d{5}$/',
            'mobile' => '/^\\d{7}$/',
            'tollfree' => '/^\\d{7}$/',
            'emergency' => '/^\\d{3}$/',
        ],
    ],
];