update v1.0.6
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
# It can be a commit, branch or tag of the https://github.com/googlei18n/libphonenumber project
|
||||
#
|
||||
# For more information, look at the phing tasks in build.xml
|
||||
libphonenumber-7.2.2
|
||||
libphonenumber-7.2.5
|
||||
|
23
vendor/giggsey/libphonenumber-for-php/README.md
vendored
23
vendor/giggsey/libphonenumber-for-php/README.md
vendored
@@ -20,18 +20,16 @@ A PHP library for parsing, formatting, storing and validating international phon
|
||||
|
||||
## Installation
|
||||
|
||||
The library can be installed via [composer](http://getcomposer.org/). You can also use any other [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) compliant autoloader.
|
||||
The PECL [mbstring](http://php.net/mbstring) extension is required.
|
||||
|
||||
The PECL [mbstring](http://php.net/mbstring) extension is required for this library to be used.
|
||||
It is recommended to use [composer](https://getcomposer.org) to install the library.
|
||||
|
||||
```json
|
||||
{
|
||||
"require": {
|
||||
"giggsey/libphonenumber-for-php": "~7.0"
|
||||
}
|
||||
}
|
||||
```bash
|
||||
$ composer require giggsey/libphonenumber-for-php
|
||||
```
|
||||
|
||||
You can also use any other [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) compliant autoloader.
|
||||
|
||||
## Versioning
|
||||
|
||||
This library will try to follow the same version numbers as Google. There could be additional releases where needed to fix critical issues that can not wait until the next release from Google.
|
||||
@@ -211,12 +209,12 @@ If Google's [Online Demo](https://libphonenumber.appspot.com/) gives a different
|
||||
|
||||
## Generating data
|
||||
|
||||
Phing is used to 'compile' the metadata.
|
||||
Generating the data is not normally needed, as this repository will generally always have the up to data metadata.
|
||||
|
||||
Ensure you have all the dev composer dependencies installed, then run
|
||||
If you do need to generate the data, the commands are provided by [Phing](https://www.phing.info). Ensure you have all the dev composer dependencies installed, then run
|
||||
|
||||
```bash
|
||||
vendor/bin/phing compile
|
||||
$ vendor/bin/phing compile
|
||||
```
|
||||
|
||||
This compile process clones the [libphonenumber](https://github.com/googlei18n/libphonenumber) project at the version specified in [METADATA-VERSION.txt](METADATA-VERSION.txt).
|
||||
@@ -225,8 +223,7 @@ This compile process clones the [libphonenumber](https://github.com/googlei18n/l
|
||||
|
||||
Other packages exist that integrate libphonenumber-for-php into frameworks.
|
||||
|
||||
These packages are supplied by third parties, and their quality can not be guaranteed.
|
||||
|
||||
- Symfony: [PhoneNumberBundle](https://github.com/misd-service-development/phone-number-bundle)
|
||||
- Laravel: [Laravel Phone](https://github.com/Propaganistas/Laravel-Phone)
|
||||
|
||||
These packages are supplied by third parties, and their quality can not be guaranteed.
|
||||
|
@@ -5,7 +5,6 @@ namespace libphonenumber\buildtools\Commands;
|
||||
|
||||
use libphonenumber\buildtools\GeneratePhonePrefixData;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Helper\ProgressHelper;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
@@ -26,14 +25,11 @@ class GeneratePhonePrefixDataCommand extends Command
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
/** @var ProgressHelper $progress */
|
||||
$progress = $this->getHelperSet()->get('progress');
|
||||
$generatePhonePrefixData = new GeneratePhonePrefixData();
|
||||
$generatePhonePrefixData->start(
|
||||
$input->getArgument('InputDirectory'),
|
||||
$input->getArgument('OutputDirectory'),
|
||||
$output,
|
||||
$progress
|
||||
$output
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace libphonenumber\buildtools;
|
||||
|
||||
use Symfony\Component\Console\Helper\ProgressHelper;
|
||||
use Symfony\Component\Console\Helper\ProgressBar;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class GeneratePhonePrefixData
|
||||
@@ -22,21 +22,19 @@ EOT;
|
||||
private $filesToIgnore = array('.', '..', '.svn', '.git');
|
||||
private $outputDir;
|
||||
private $englishMaps = array();
|
||||
/**
|
||||
* @var OutputInterface
|
||||
*/
|
||||
private static $consoleOutput;
|
||||
|
||||
public function start($inputDir, $outputDir, OutputInterface $consoleOutput, ProgressHelper $progress)
|
||||
|
||||
public function start($inputDir, $outputDir, OutputInterface $consoleOutput)
|
||||
{
|
||||
$this->inputDir = $inputDir;
|
||||
$this->outputDir = $outputDir;
|
||||
self::$consoleOutput = $consoleOutput;
|
||||
|
||||
$inputOutputMappings = $this->createInputOutputMappings();
|
||||
$availableDataFiles = array();
|
||||
|
||||
$progress->start($consoleOutput, count($inputOutputMappings));
|
||||
$progress = new ProgressBar($consoleOutput, count($inputOutputMappings));
|
||||
|
||||
$progress->start();
|
||||
foreach ($inputOutputMappings as $textFile => $outputFiles) {
|
||||
$mappings = $this->readMappingsFromFile($textFile);
|
||||
|
||||
|
@@ -38,9 +38,9 @@
|
||||
"phing/phing": "~2.7",
|
||||
"pear/versioncontrol_git": "dev-master",
|
||||
"pear/pear-core-minimal": "^1.9",
|
||||
"pear/pear_exception": "*",
|
||||
"pear/pear_exception": "^1.0",
|
||||
"phpunit/phpunit": "~4.0",
|
||||
"symfony/console": "~2.4",
|
||||
"symfony/console": "^2.5",
|
||||
"satooshi/php-coveralls": "~0.6"
|
||||
},
|
||||
"suggest": {
|
||||
|
@@ -194,7 +194,6 @@ class PhoneNumberUtil
|
||||
* @var String
|
||||
*/
|
||||
private static $EXTN_PATTERNS_FOR_PARSING;
|
||||
private static $EXTN_PATTERNS_FOR_MATCHING;
|
||||
private static $EXTN_PATTERN = null;
|
||||
private static $VALID_PHONE_NUMBER_PATTERN;
|
||||
private static $MIN_LENGTH_PHONE_NUMBER_PATTERN;
|
||||
@@ -426,7 +425,6 @@ class PhoneNumberUtil
|
||||
$singleExtnSymbolsForParsing = "," . $singleExtnSymbolsForMatching;
|
||||
|
||||
self::$EXTN_PATTERNS_FOR_PARSING = self::createExtnPattern($singleExtnSymbolsForParsing);
|
||||
self::$EXTN_PATTERNS_FOR_MATCHING = self::createExtnPattern($singleExtnSymbolsForMatching);
|
||||
}
|
||||
|
||||
// The FIRST_GROUP_PATTERN was originally set to $1 but there are some countries for which the
|
||||
|
@@ -39,4 +39,5 @@ return array (
|
||||
22575 => 'MTN',
|
||||
22577 => 'Orange',
|
||||
22578 => 'Orange',
|
||||
22587 => 'Orange',
|
||||
);
|
||||
|
@@ -129,18 +129,23 @@ return array (
|
||||
2346987 => 'Starcomms',
|
||||
2346988 => 'Starcomms',
|
||||
2346989 => 'Starcomms',
|
||||
2347021 => 'M-Tel',
|
||||
2347022 => 'M-Tel',
|
||||
234701 => 'Airtel',
|
||||
2347020 => 'Smile',
|
||||
2347021 => 'Ntel',
|
||||
2347022 => 'Ntel',
|
||||
2347023 => 'Zoom',
|
||||
2347024 => 'Prestel',
|
||||
2347025 => 'Visafone',
|
||||
2347026 => 'Visafone',
|
||||
2347027 => 'Multilinks',
|
||||
2347028 => 'Starcomms',
|
||||
2347029 => 'Starcomms',
|
||||
234703 => 'MTN',
|
||||
234704 => 'Visafone',
|
||||
234705 => 'Glo',
|
||||
234706 => 'MTN',
|
||||
234707 => 'Glo',
|
||||
234708 => 'Airtel',
|
||||
234709 => 'Multilinks',
|
||||
2347380 => 'Starcomms',
|
||||
2347381 => 'Starcomms',
|
||||
2347382 => 'Starcomms',
|
||||
@@ -160,9 +165,11 @@ return array (
|
||||
2347782 => 'Starcomms',
|
||||
2347783 => 'Starcomms',
|
||||
2347784 => 'Starcomms',
|
||||
2348010 => 'Megatech',
|
||||
2348011 => 'Megatech',
|
||||
234802 => 'Airtel',
|
||||
234803 => 'MTN',
|
||||
234804 => 'M-Tel',
|
||||
234804 => 'Ntel',
|
||||
234805 => 'Glo',
|
||||
234806 => 'MTN',
|
||||
234807 => 'Glo',
|
||||
@@ -234,6 +241,7 @@ return array (
|
||||
234902 => 'Airtel',
|
||||
234903 => 'MTN',
|
||||
234905 => 'Glo',
|
||||
234908 => 'Etisalat',
|
||||
234909 => 'Etisalat',
|
||||
234980 => 'Starcomms',
|
||||
234987 => 'Starcomms',
|
||||
|
@@ -6,5 +6,6 @@
|
||||
|
||||
return array (
|
||||
2356 => 'Airtel',
|
||||
23577 => 'Sotel',
|
||||
2359 => 'Millicom',
|
||||
);
|
||||
|
@@ -5,5 +5,10 @@
|
||||
*/
|
||||
|
||||
return array (
|
||||
25191 => 'ETH-MTN',
|
||||
25191 => 'Ethio Telecom',
|
||||
25192 => 'Ethio Telecom',
|
||||
25193 => 'Ethio Telecom',
|
||||
25194 => 'Ethio Telecom',
|
||||
25195 => 'Ethio Telecom',
|
||||
251966 => 'Ethio Telecom',
|
||||
);
|
||||
|
@@ -11,6 +11,7 @@ return array (
|
||||
506571 => 'OMV',
|
||||
506572 => 'OMV',
|
||||
506573 => 'OMV',
|
||||
5066 => 'Movistar',
|
||||
50670010 => 'Claro',
|
||||
50670011 => 'Claro',
|
||||
50670012 => 'Claro',
|
||||
|
@@ -27,8 +27,10 @@ return array (
|
||||
599953 => 'Chippie',
|
||||
599954 => 'Chippie',
|
||||
599956 => 'Chippie',
|
||||
599957 => 'Chippie',
|
||||
599961 => 'CSC',
|
||||
599963 => 'GSM Caribbean',
|
||||
599965 => 'Digicel',
|
||||
599966 => 'Digicel',
|
||||
599967 => 'Digicel',
|
||||
599968 => 'Digicel',
|
||||
|
@@ -65,6 +65,7 @@ return array (
|
||||
61468 => 'Optus',
|
||||
61469 => 'Lycamobile',
|
||||
61470 => 'Lycamobile',
|
||||
61472 => 'Telstra',
|
||||
61473 => 'Telstra',
|
||||
61474 => 'Telstra',
|
||||
61475 => 'Telstra',
|
||||
|
@@ -10,7 +10,10 @@ return array (
|
||||
67571 => 'Digicel',
|
||||
67572 => 'Digicel',
|
||||
67573 => 'Digicel',
|
||||
67574 => 'Digicel',
|
||||
67575 => 'bmobile',
|
||||
67576 => 'bmobile',
|
||||
675775 => 'Telikom',
|
||||
67578 => 'Telikom',
|
||||
67579 => 'Digicel',
|
||||
);
|
||||
|
@@ -211,6 +211,7 @@ return array (
|
||||
917308 => 'Reliance',
|
||||
917309 => 'Idea',
|
||||
917310 => 'Vodafone',
|
||||
917319 => 'Airtel',
|
||||
917350 => 'Idea',
|
||||
917351 => 'Idea',
|
||||
917352 => 'Idea',
|
||||
|
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
return array (
|
||||
99361 => 'TM-Cell',
|
||||
99365 => 'TM-Cell',
|
||||
99366 => 'MTS (BARASH Communication)',
|
||||
99367 => 'MTS (BARASH Communication)',
|
||||
|
@@ -75,7 +75,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -75,7 +75,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -78,7 +78,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -43,7 +43,7 @@ return array (
|
||||
4[47-9]|
|
||||
5[0-25-9]|
|
||||
6[6-9]|
|
||||
7[03-9]|
|
||||
7[02-9]|
|
||||
8[147-9]|
|
||||
9[017-9]
|
||||
)\\d{6}
|
||||
|
@@ -103,8 +103,9 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
)[2-9]\\d{3}
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
'ExampleNumber' => '5002345678',
|
||||
|
@@ -78,7 +78,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -137,9 +137,9 @@ return array (
|
||||
),
|
||||
'id' => 'BR',
|
||||
'countryCode' => 55,
|
||||
'internationalPrefix' => '00(?:1[45]|2[135]|31|4[13])',
|
||||
'internationalPrefix' => '00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)',
|
||||
'nationalPrefix' => '0',
|
||||
'nationalPrefixForParsing' => '0(?:(1[245]|2[135]|31|4[13])(\\d{10,11}))?',
|
||||
'nationalPrefixForParsing' => '0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?',
|
||||
'nationalPrefixTransformRule' => '$2',
|
||||
'sameMobileAndFixedLinePattern' => false,
|
||||
'numberFormat' =>
|
||||
|
@@ -107,7 +107,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -23,9 +23,8 @@ return array (
|
||||
3(?:
|
||||
1[0235-9]|
|
||||
55|
|
||||
6\\d|
|
||||
7[01]|
|
||||
9[0-57]
|
||||
[69]\\d|
|
||||
7[01]
|
||||
)|
|
||||
4(?:
|
||||
6[03]|
|
||||
|
@@ -57,6 +57,7 @@ return array (
|
||||
8(?:
|
||||
[06]7|
|
||||
19|
|
||||
25|
|
||||
73
|
||||
)|
|
||||
90[25]
|
||||
@@ -109,6 +110,7 @@ return array (
|
||||
8(?:
|
||||
[06]7|
|
||||
19|
|
||||
25|
|
||||
73
|
||||
)|
|
||||
90[25]
|
||||
@@ -152,7 +154,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -30,7 +30,7 @@ return array (
|
||||
4[47-9]|
|
||||
5[0-25-9]|
|
||||
6[6-9]|
|
||||
7[03-9]|
|
||||
7[02-9]|
|
||||
8[147-9]|
|
||||
9[017-9]
|
||||
)\\d{6}
|
||||
|
@@ -8,7 +8,7 @@
|
||||
return array (
|
||||
'generalDesc' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '[02-7]\\d{7}',
|
||||
'NationalNumberPattern' => '[02-8]\\d{7}',
|
||||
'PossibleNumberPattern' => '\\d{8}',
|
||||
),
|
||||
'fixedLine' =>
|
||||
@@ -41,7 +41,8 @@ return array (
|
||||
4\\d|
|
||||
5[4-9]|
|
||||
6[015-79]|
|
||||
7[578]
|
||||
7[578]|
|
||||
87
|
||||
)\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{8}',
|
||||
|
@@ -8,7 +8,7 @@
|
||||
return array (
|
||||
'generalDesc' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '[2-57]\\d{4}',
|
||||
'NationalNumberPattern' => '[2-8]\\d{4}',
|
||||
'PossibleNumberPattern' => '\\d{5}',
|
||||
),
|
||||
'fixedLine' =>
|
||||
@@ -25,12 +25,7 @@ return array (
|
||||
),
|
||||
'mobile' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '
|
||||
(?:
|
||||
5[0-68]|
|
||||
7\\d
|
||||
)\\d{3}
|
||||
',
|
||||
'NationalNumberPattern' => '[5-8]\\d{4}',
|
||||
'PossibleNumberPattern' => '\\d{5}',
|
||||
'ExampleNumber' => '71234',
|
||||
),
|
||||
|
@@ -24,12 +24,10 @@ return array (
|
||||
0[01]|
|
||||
7[0-3]
|
||||
)\\d{5}|
|
||||
6(?:
|
||||
[0-2]\\d|
|
||||
30
|
||||
)\\d{5}|
|
||||
7[0-3]\\d{6}|
|
||||
8[3-9]\\d{6}
|
||||
(?:
|
||||
[67][0-3]|
|
||||
8[3-9]
|
||||
)\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{8}',
|
||||
'ExampleNumber' => '83123456',
|
||||
|
@@ -34,11 +34,11 @@ return array (
|
||||
'NationalNumberPattern' => '
|
||||
9(?:
|
||||
5(?:
|
||||
[1246]\\d|
|
||||
[12467]\\d|
|
||||
3[01]
|
||||
)|
|
||||
6(?:
|
||||
[16-9]\\d|
|
||||
[15-9]\\d|
|
||||
3[01]
|
||||
)
|
||||
)\\d{4}
|
||||
@@ -58,14 +58,9 @@ return array (
|
||||
),
|
||||
'sharedCost' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '
|
||||
(?:
|
||||
10|
|
||||
69
|
||||
)\\d{5}
|
||||
',
|
||||
'NationalNumberPattern' => '60[0-2]\\d{4}',
|
||||
'PossibleNumberPattern' => '\\d{7}',
|
||||
'ExampleNumber' => '1011234',
|
||||
'ExampleNumber' => '6001234',
|
||||
),
|
||||
'personalNumber' =>
|
||||
array (
|
||||
|
@@ -30,7 +30,7 @@ return array (
|
||||
4[47-9]|
|
||||
5[0-25-9]|
|
||||
6[6-9]|
|
||||
7[03-9]|
|
||||
7[02-9]|
|
||||
8[147-9]|
|
||||
9[017-9]
|
||||
)\\d{6}
|
||||
|
@@ -79,7 +79,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -107,7 +107,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -136,8 +136,9 @@ return array (
|
||||
array (
|
||||
'NationalNumberPattern' => '
|
||||
9(?:
|
||||
[1-3]\\d|
|
||||
5[89]
|
||||
[1-4]\\d|
|
||||
5[89]|
|
||||
66
|
||||
)\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{9}',
|
||||
|
@@ -98,7 +98,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -42,12 +42,7 @@ return array (
|
||||
),
|
||||
'mobile' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '
|
||||
(?:
|
||||
2[0-6]|
|
||||
[3679]\\d
|
||||
)\\d{5}
|
||||
',
|
||||
'NationalNumberPattern' => '[23679]\\d{6}',
|
||||
'PossibleNumberPattern' => '\\d{7}',
|
||||
'ExampleNumber' => '3012345',
|
||||
),
|
||||
|
@@ -145,7 +145,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -39,7 +39,7 @@ return array (
|
||||
)|
|
||||
6(?:
|
||||
[056]\\d|
|
||||
34|
|
||||
3[04]|
|
||||
4[0-378]|
|
||||
[78][0-8]|
|
||||
9[01]
|
||||
|
@@ -205,7 +205,7 @@ return array (
|
||||
)|
|
||||
3(?:
|
||||
[058]\\d|
|
||||
10|
|
||||
1[09]|
|
||||
7[3679]|
|
||||
9[689]
|
||||
)|
|
||||
@@ -415,7 +415,7 @@ return array (
|
||||
)|
|
||||
3(?:
|
||||
[058]|
|
||||
10|
|
||||
1[09]|
|
||||
7[3679]|
|
||||
9[689]
|
||||
)|
|
||||
|
@@ -110,7 +110,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -78,7 +78,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -178,21 +178,23 @@ return array (
|
||||
array (
|
||||
0 => '
|
||||
1(?:
|
||||
[169][2-8]|
|
||||
[78]|
|
||||
5[1-4]
|
||||
[01]|
|
||||
5[1-4]|
|
||||
6[2-8]|
|
||||
[7-9]
|
||||
)|
|
||||
[68]0|
|
||||
[3-6][1-9][1-9]
|
||||
',
|
||||
1 => '
|
||||
1(?:
|
||||
[169][2-8]|
|
||||
[78]|
|
||||
[01]|
|
||||
5(?:
|
||||
[1-3]|
|
||||
4[56]
|
||||
)
|
||||
)|
|
||||
6[2-8]|
|
||||
[7-9]
|
||||
)|
|
||||
[68]0|
|
||||
[3-6][1-9][1-9]
|
||||
|
@@ -103,7 +103,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -86,7 +86,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -109,7 +109,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -57,7 +57,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -26,7 +26,11 @@ return array (
|
||||
[01378]|
|
||||
2\\d
|
||||
)|
|
||||
4[01]|
|
||||
4(?:
|
||||
[024]|
|
||||
10?|
|
||||
3[15]?
|
||||
)|
|
||||
69|
|
||||
7[014]
|
||||
)|
|
||||
|
@@ -121,15 +121,18 @@ return array (
|
||||
98[07]\\d
|
||||
)\\d{4}|
|
||||
(?:
|
||||
70(?:
|
||||
[13-9]\\d|
|
||||
2[1-9]
|
||||
)|
|
||||
70[1-689]\\d|
|
||||
8(?:
|
||||
0[2-9]|
|
||||
1\\d
|
||||
)\\d|
|
||||
90[2359]\\d
|
||||
0(?:
|
||||
1[01]|
|
||||
[2-9]\\d
|
||||
)|
|
||||
1(?:
|
||||
[0-8]\\d|
|
||||
9[01]
|
||||
)
|
||||
)|
|
||||
90[23589]\\d
|
||||
)\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{8,10}',
|
||||
@@ -212,16 +215,37 @@ return array (
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'pattern' => '([129])(\\d{3})(\\d{3,4})',
|
||||
'pattern' => '(\\d{3})(\\d{3})(\\d{3,4})',
|
||||
'format' => '$1 $2 $3',
|
||||
'leadingDigitsPatterns' =>
|
||||
array (
|
||||
0 => '[129]',
|
||||
0 => '
|
||||
70|
|
||||
8[01]|
|
||||
90[23589]
|
||||
',
|
||||
),
|
||||
'nationalPrefixFormattingRule' => '0$1',
|
||||
'domesticCarrierCodeFormattingRule' => '',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'pattern' => '(\\d)(\\d{3})(\\d{3,4})',
|
||||
'format' => '$1 $2 $3',
|
||||
'leadingDigitsPatterns' =>
|
||||
array (
|
||||
0 => '
|
||||
[12]|
|
||||
9(?:
|
||||
0[3-9]|
|
||||
[1-9]
|
||||
)
|
||||
',
|
||||
),
|
||||
'nationalPrefixFormattingRule' => '0$1',
|
||||
'domesticCarrierCodeFormattingRule' => '',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'pattern' => '(\\d{2})(\\d{3})(\\d{2,3})',
|
||||
'format' => '$1 $2 $3',
|
||||
@@ -239,21 +263,6 @@ return array (
|
||||
'nationalPrefixFormattingRule' => '0$1',
|
||||
'domesticCarrierCodeFormattingRule' => '',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'pattern' => '(\\d{3})(\\d{3})(\\d{3,4})',
|
||||
'format' => '$1 $2 $3',
|
||||
'leadingDigitsPatterns' =>
|
||||
array (
|
||||
0 => '
|
||||
70|
|
||||
8[01]|
|
||||
90[2359]
|
||||
',
|
||||
),
|
||||
'nationalPrefixFormattingRule' => '0$1',
|
||||
'domesticCarrierCodeFormattingRule' => '',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'pattern' => '([78]00)(\\d{4})(\\d{4,5})',
|
||||
|
@@ -37,7 +37,7 @@ return array (
|
||||
20150|
|
||||
68\\d{2}|
|
||||
7(?:
|
||||
[0-369]\\d|
|
||||
[0-689]\\d|
|
||||
75
|
||||
)\\d{2}
|
||||
)\\d{3}
|
||||
|
@@ -67,7 +67,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -8,8 +8,11 @@
|
||||
return array (
|
||||
'generalDesc' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '[1-9]\\d{5,9}',
|
||||
'PossibleNumberPattern' => '\\d{5,10}',
|
||||
'NationalNumberPattern' => '
|
||||
[1-35-9]\\d{5,11}|
|
||||
4\\d{6,8}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{6,12}',
|
||||
),
|
||||
'fixedLine' =>
|
||||
array (
|
||||
@@ -49,8 +52,7 @@ return array (
|
||||
)\\d{5,6}
|
||||
)|
|
||||
4(?:
|
||||
0[1-9]\\d{4,6}|
|
||||
[246]\\d{5,7}|
|
||||
[0246]\\d{5,7}|
|
||||
(?:
|
||||
1[013-8]|
|
||||
3[0135]|
|
||||
@@ -72,8 +74,7 @@ return array (
|
||||
9[01]
|
||||
)\\d{5,6}|
|
||||
6(?:
|
||||
0[1-9]\\d{4,6}|
|
||||
3\\d{5,7}|
|
||||
[03]\\d{5,7}|
|
||||
(?:
|
||||
1[1-3]|
|
||||
2[0-4]|
|
||||
@@ -85,7 +86,7 @@ return array (
|
||||
9[0-356]
|
||||
)\\d{5,6}
|
||||
)|
|
||||
8[1-9]\\d{5,7}|
|
||||
8\\d{6,8}|
|
||||
9(?:
|
||||
0[1-9]\\d{4,6}|
|
||||
(?:
|
||||
@@ -99,7 +100,7 @@ return array (
|
||||
)\\d{5,6}
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{5,9}',
|
||||
'PossibleNumberPattern' => '\\d{7,9}',
|
||||
'ExampleNumber' => '8123456',
|
||||
),
|
||||
'mobile' =>
|
||||
@@ -110,82 +111,29 @@ return array (
|
||||
),
|
||||
'tollFree' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '
|
||||
20(?:
|
||||
0(?:
|
||||
0\\d{2}|
|
||||
[1-9](?:
|
||||
0\\d{1,4}|
|
||||
[1-9]\\d{4}
|
||||
)
|
||||
)|
|
||||
1(?:
|
||||
0\\d{4}|
|
||||
[1-9]\\d{4,5}
|
||||
)|
|
||||
[2-9]\\d{5}
|
||||
)
|
||||
',
|
||||
'NationalNumberPattern' => '20\\d{4,7}',
|
||||
'PossibleNumberPattern' => '\\d{6,9}',
|
||||
'ExampleNumber' => '20123456',
|
||||
),
|
||||
'premiumRate' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '
|
||||
649\\d{6}|
|
||||
9(?:
|
||||
00|
|
||||
39|
|
||||
44
|
||||
)(?:
|
||||
1(?:
|
||||
[0-26]\\d{5}|
|
||||
[3-57-9]\\d{2}
|
||||
)|
|
||||
2(?:
|
||||
[0-2]\\d{5}|
|
||||
[3-9]\\d{2}
|
||||
)|
|
||||
3(?:
|
||||
[0139]\\d{5}|
|
||||
[24-8]\\d{2}
|
||||
)|
|
||||
4(?:
|
||||
[045]\\d{5}|
|
||||
[1-36-9]\\d{2}
|
||||
)|
|
||||
5(?:
|
||||
5\\d{5}|
|
||||
[0-46-9]\\d{2}
|
||||
)|
|
||||
6(?:
|
||||
[679]\\d{5}|
|
||||
[0-58]\\d{2}
|
||||
)|
|
||||
7(?:
|
||||
[078]\\d{5}|
|
||||
[1-69]\\d{2}
|
||||
)|
|
||||
8(?:
|
||||
[578]\\d{5}|
|
||||
[0-469]\\d{2}
|
||||
)
|
||||
)
|
||||
)[1-8]\\d{3,6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{7}(?:\\d{3})?',
|
||||
'PossibleNumberPattern' => '\\d{7,10}',
|
||||
'ExampleNumber' => '9001234567',
|
||||
),
|
||||
'sharedCost' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '
|
||||
77(?:
|
||||
0(?:
|
||||
0\\d{2}|
|
||||
[1-9](?:
|
||||
0\\d|
|
||||
[1-9]\\d{4}
|
||||
)
|
||||
)|
|
||||
[1-6][1-9]\\d{5}
|
||||
0\\d{3}(?:\\d{3})?|
|
||||
[1-7]\\d{6}
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{6}(?:\\d{3})?',
|
||||
@@ -220,8 +168,14 @@ return array (
|
||||
),
|
||||
'voicemail' =>
|
||||
array (
|
||||
'NationalNumberPattern' => 'NA',
|
||||
'PossibleNumberPattern' => 'NA',
|
||||
'NationalNumberPattern' => '
|
||||
(?:
|
||||
25[245]|
|
||||
67[3-6]
|
||||
)\\d{9}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{12}',
|
||||
'ExampleNumber' => '254123456789',
|
||||
),
|
||||
'shortCode' =>
|
||||
array (
|
||||
|
@@ -20,7 +20,7 @@ return array (
|
||||
(?:
|
||||
1\\d|
|
||||
[25][2-8]|
|
||||
3[4-8]|
|
||||
3[24-8]|
|
||||
4[24-8]|
|
||||
7[3-8]
|
||||
)\\d{6}
|
||||
@@ -133,7 +133,7 @@ return array (
|
||||
array (
|
||||
0 => '
|
||||
[12]|
|
||||
3[4-8]|
|
||||
3[24-8]|
|
||||
4[24-8]|
|
||||
5[2-8]|
|
||||
7[3-8]
|
||||
|
@@ -10,16 +10,25 @@ return array (
|
||||
array (
|
||||
'NationalNumberPattern' => '
|
||||
(?:
|
||||
[2-68]\\d{8}|
|
||||
[2-68]\\d{5,8}|
|
||||
9\\d{6,8}
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{7,9}',
|
||||
'PossibleNumberPattern' => '\\d{6,9}',
|
||||
),
|
||||
'fixedLine' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '[2-5]\\d{8}',
|
||||
'PossibleNumberPattern' => '\\d{9}',
|
||||
'NationalNumberPattern' => '
|
||||
2(?:
|
||||
16\\d{3,4}|
|
||||
\\d{8}
|
||||
)|
|
||||
[3-5](?:
|
||||
[1-8]16\\d{2,3}|
|
||||
\\d{8}
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{6,9}',
|
||||
'ExampleNumber' => '212345678',
|
||||
),
|
||||
'mobile' =>
|
||||
@@ -140,6 +149,28 @@ return array (
|
||||
'numberFormat' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'pattern' => '(2)(16)(\\d{3,4})',
|
||||
'format' => '$1 $2 $3',
|
||||
'leadingDigitsPatterns' =>
|
||||
array (
|
||||
0 => '216',
|
||||
),
|
||||
'nationalPrefixFormattingRule' => '0$1',
|
||||
'domesticCarrierCodeFormattingRule' => '',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'pattern' => '([3-5]\\d)(16)(\\d{2,3})',
|
||||
'format' => '$1 $2 $3',
|
||||
'leadingDigitsPatterns' =>
|
||||
array (
|
||||
0 => '[3-5]',
|
||||
),
|
||||
'nationalPrefixFormattingRule' => '0$1',
|
||||
'domesticCarrierCodeFormattingRule' => '',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'pattern' => '(2)(\\d{3})(\\d{3})(\\d{2})',
|
||||
'format' => '$1/$2 $3 $4',
|
||||
@@ -150,7 +181,7 @@ return array (
|
||||
'nationalPrefixFormattingRule' => '0$1',
|
||||
'domesticCarrierCodeFormattingRule' => '',
|
||||
),
|
||||
1 =>
|
||||
3 =>
|
||||
array (
|
||||
'pattern' => '([3-5]\\d)(\\d{3})(\\d{2})(\\d{2})',
|
||||
'format' => '$1/$2 $3 $4',
|
||||
@@ -161,7 +192,7 @@ return array (
|
||||
'nationalPrefixFormattingRule' => '0$1',
|
||||
'domesticCarrierCodeFormattingRule' => '',
|
||||
),
|
||||
2 =>
|
||||
4 =>
|
||||
array (
|
||||
'pattern' => '([689]\\d{2})(\\d{3})(\\d{3})',
|
||||
'format' => '$1 $2 $3',
|
||||
@@ -172,7 +203,7 @@ return array (
|
||||
'nationalPrefixFormattingRule' => '0$1',
|
||||
'domesticCarrierCodeFormattingRule' => '',
|
||||
),
|
||||
3 =>
|
||||
5 =>
|
||||
array (
|
||||
'pattern' => '(9090)(\\d{3})',
|
||||
'format' => '$1 $2',
|
||||
|
@@ -70,7 +70,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -77,7 +77,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -27,7 +27,7 @@ return array (
|
||||
array (
|
||||
'NationalNumberPattern' => '
|
||||
(?:
|
||||
6[02368]\\d|
|
||||
6[023568]\\d|
|
||||
77\\d|
|
||||
9\\d{2}
|
||||
)\\d{5}
|
||||
|
@@ -45,7 +45,7 @@ return array (
|
||||
),
|
||||
'mobile' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '6[2-9]\\d{6}',
|
||||
'NationalNumberPattern' => '6[1-9]\\d{6}',
|
||||
'PossibleNumberPattern' => '\\d{8}',
|
||||
'ExampleNumber' => '66123456',
|
||||
),
|
||||
|
@@ -95,7 +95,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -8,8 +8,8 @@
|
||||
return array (
|
||||
'generalDesc' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '[29]\\d{4,5}',
|
||||
'PossibleNumberPattern' => '\\d{5,6}',
|
||||
'NationalNumberPattern' => '[279]\\d{4,6}',
|
||||
'PossibleNumberPattern' => '\\d{5,7}',
|
||||
),
|
||||
'fixedLine' =>
|
||||
array (
|
||||
@@ -19,8 +19,13 @@ return array (
|
||||
),
|
||||
'mobile' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '90\\d{4}',
|
||||
'PossibleNumberPattern' => '\\d{6}',
|
||||
'NationalNumberPattern' => '
|
||||
(?:
|
||||
70\\d|
|
||||
90
|
||||
)\\d{4}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{6,7}',
|
||||
'ExampleNumber' => '901234',
|
||||
),
|
||||
'tollFree' =>
|
||||
|
@@ -233,7 +233,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -91,7 +91,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -90,7 +90,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -125,7 +125,8 @@ return array (
|
||||
33|
|
||||
44|
|
||||
66|
|
||||
77
|
||||
77|
|
||||
88
|
||||
)[2-9]\\d{6}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{10}',
|
||||
|
@@ -8,7 +8,7 @@
|
||||
return array (
|
||||
'generalDesc' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '[5-7]\\d{5}',
|
||||
'NationalNumberPattern' => '[4-8]\\d{5}',
|
||||
'PossibleNumberPattern' => '\\d{6}',
|
||||
),
|
||||
'fixedLine' =>
|
||||
@@ -29,7 +29,8 @@ return array (
|
||||
(?:
|
||||
50|
|
||||
68|
|
||||
72
|
||||
72|
|
||||
8[23]
|
||||
)\\d{4}
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{6}',
|
||||
@@ -77,8 +78,9 @@ return array (
|
||||
),
|
||||
'voicemail' =>
|
||||
array (
|
||||
'NationalNumberPattern' => 'NA',
|
||||
'PossibleNumberPattern' => 'NA',
|
||||
'NationalNumberPattern' => '[48]0\\d{4}',
|
||||
'PossibleNumberPattern' => '\\d{6}',
|
||||
'ExampleNumber' => '401234',
|
||||
),
|
||||
'shortCode' =>
|
||||
array (
|
||||
@@ -103,7 +105,7 @@ return array (
|
||||
'id' => 'WF',
|
||||
'countryCode' => 681,
|
||||
'internationalPrefix' => '00',
|
||||
'sameMobileAndFixedLinePattern' => true,
|
||||
'sameMobileAndFixedLinePattern' => false,
|
||||
'numberFormat' =>
|
||||
array (
|
||||
0 =>
|
||||
|
@@ -125,7 +125,10 @@ return array (
|
||||
0\\d{2}|
|
||||
1(?:
|
||||
[02459]|
|
||||
6000|
|
||||
6(?:
|
||||
000|
|
||||
111
|
||||
)|
|
||||
8\\d{3}
|
||||
)|
|
||||
[578]
|
||||
|
@@ -23,8 +23,14 @@ return array (
|
||||
),
|
||||
'tollFree' =>
|
||||
array (
|
||||
'NationalNumberPattern' => 'NA',
|
||||
'PossibleNumberPattern' => 'NA',
|
||||
'NationalNumberPattern' => '
|
||||
116(?:
|
||||
00[06]|
|
||||
111
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{6}',
|
||||
'ExampleNumber' => '116000',
|
||||
),
|
||||
'premiumRate' =>
|
||||
array (
|
||||
|
@@ -8,23 +8,32 @@
|
||||
return array (
|
||||
'generalDesc' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '1\\d{2}',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'NationalNumberPattern' => '1\\d{2,5}',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
),
|
||||
'fixedLine' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '1\\d{2}',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'NationalNumberPattern' => '1\\d{2,5}',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
),
|
||||
'mobile' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '1\\d{2}',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'NationalNumberPattern' => '1\\d{2,5}',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
),
|
||||
'tollFree' =>
|
||||
array (
|
||||
'NationalNumberPattern' => 'NA',
|
||||
'PossibleNumberPattern' => 'NA',
|
||||
'NationalNumberPattern' => '
|
||||
116(?:
|
||||
000|
|
||||
1(?:
|
||||
11|
|
||||
23
|
||||
)
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{6}',
|
||||
'ExampleNumber' => '116000',
|
||||
),
|
||||
'premiumRate' =>
|
||||
array (
|
||||
@@ -64,7 +73,7 @@ return array (
|
||||
12
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
'ExampleNumber' => '112',
|
||||
),
|
||||
'voicemail' =>
|
||||
@@ -77,10 +86,19 @@ return array (
|
||||
'NationalNumberPattern' => '
|
||||
1(?:
|
||||
0[457]|
|
||||
12
|
||||
1(?:
|
||||
2|
|
||||
6(?:
|
||||
000|
|
||||
1(?:
|
||||
11|
|
||||
23
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
'ExampleNumber' => '112',
|
||||
),
|
||||
'standardRate' =>
|
||||
|
@@ -89,7 +89,10 @@ return array (
|
||||
0\\d{2,3}|
|
||||
1(?:
|
||||
[2-5789]|
|
||||
6000
|
||||
6(?:
|
||||
000|
|
||||
111
|
||||
)
|
||||
)|
|
||||
2\\d{2}|
|
||||
3[39]|
|
||||
|
@@ -23,8 +23,15 @@ return array (
|
||||
),
|
||||
'tollFree' =>
|
||||
array (
|
||||
'NationalNumberPattern' => 'NA',
|
||||
'PossibleNumberPattern' => 'NA',
|
||||
'NationalNumberPattern' => '
|
||||
1(?:
|
||||
1[78]|
|
||||
28|
|
||||
82
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'ExampleNumber' => '118',
|
||||
),
|
||||
'premiumRate' =>
|
||||
array (
|
||||
@@ -72,11 +79,14 @@ return array (
|
||||
'NationalNumberPattern' => '
|
||||
1(?:
|
||||
0[01]|
|
||||
1[29]|
|
||||
1[027-9]|
|
||||
2[01389]|
|
||||
3(?:
|
||||
39|
|
||||
9[18]
|
||||
)
|
||||
2|
|
||||
39|
|
||||
9[18]
|
||||
)|
|
||||
82
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{3,4}',
|
||||
|
@@ -35,7 +35,12 @@ return array (
|
||||
),
|
||||
'tollFree' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '116000',
|
||||
'NationalNumberPattern' => '
|
||||
116(?:
|
||||
000|
|
||||
111
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{6}',
|
||||
'ExampleNumber' => '116000',
|
||||
),
|
||||
|
@@ -8,23 +8,29 @@
|
||||
return array (
|
||||
'generalDesc' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '1\\d{2}',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'NationalNumberPattern' => '1\\d{2,5}',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
),
|
||||
'fixedLine' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '1\\d{2}',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'NationalNumberPattern' => '1\\d{2,5}',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
),
|
||||
'mobile' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '1\\d{2}',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'NationalNumberPattern' => '1\\d{2,5}',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
),
|
||||
'tollFree' =>
|
||||
array (
|
||||
'NationalNumberPattern' => 'NA',
|
||||
'PossibleNumberPattern' => 'NA',
|
||||
'NationalNumberPattern' => '
|
||||
116(?:
|
||||
000|
|
||||
111
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{6}',
|
||||
'ExampleNumber' => '116000',
|
||||
),
|
||||
'premiumRate' =>
|
||||
array (
|
||||
@@ -59,7 +65,7 @@ return array (
|
||||
'emergency' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '11[25]',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
'ExampleNumber' => '112',
|
||||
),
|
||||
'voicemail' =>
|
||||
@@ -69,8 +75,16 @@ return array (
|
||||
),
|
||||
'shortCode' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '11[25-8]',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'NationalNumberPattern' => '
|
||||
11(?:
|
||||
[2578]|
|
||||
6(?:
|
||||
000|
|
||||
111
|
||||
)
|
||||
)
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{3,6}',
|
||||
'ExampleNumber' => '112',
|
||||
),
|
||||
'standardRate' =>
|
||||
|
@@ -8,17 +8,17 @@
|
||||
return array (
|
||||
'generalDesc' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '9\\d{2}',
|
||||
'NationalNumberPattern' => '[19]\\d{2}',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
),
|
||||
'fixedLine' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '9\\d{2}',
|
||||
'NationalNumberPattern' => '[19]\\d{2}',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
),
|
||||
'mobile' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '9\\d{2}',
|
||||
'NationalNumberPattern' => '[19]\\d{2}',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
),
|
||||
'tollFree' =>
|
||||
@@ -69,7 +69,10 @@ return array (
|
||||
),
|
||||
'shortCode' =>
|
||||
array (
|
||||
'NationalNumberPattern' => '911',
|
||||
'NationalNumberPattern' => '
|
||||
1\\d{2}|
|
||||
911
|
||||
',
|
||||
'PossibleNumberPattern' => '\\d{3}',
|
||||
'ExampleNumber' => '911',
|
||||
),
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -27,6 +27,7 @@ return array (
|
||||
46159 => 'Mariefred',
|
||||
4616 => 'Eskilstuna-Torshälla',
|
||||
46171 => 'Enköping',
|
||||
46173 => 'Öregrund-Östhammar',
|
||||
46174 => 'Alunda',
|
||||
46175 => 'Hallstavik-Rimbo',
|
||||
46176 => 'Norrtälje',
|
||||
@@ -36,10 +37,12 @@ return array (
|
||||
46220 => 'Hallstahammar-Surahammar',
|
||||
46221 => 'Köping',
|
||||
46222 => 'Skinnskatteberg',
|
||||
46223 => 'Fagersta-Norberg',
|
||||
46224 => 'Sala-Heby',
|
||||
46225 => 'Hedemora-Säter',
|
||||
46226 => 'Avesta-Krylbo',
|
||||
46227 => 'Kungsör',
|
||||
4623 => 'Falun',
|
||||
46240 => 'Ludvika-Smedjebacken',
|
||||
46241 => 'Gagnef-Floda',
|
||||
46243 => 'Borlänge',
|
||||
@@ -49,6 +52,7 @@ return array (
|
||||
46250 => 'Mora-Orsa',
|
||||
46251 => 'Älvdalen',
|
||||
46253 => 'Idre-Särna',
|
||||
46258 => 'Furudal',
|
||||
4626 => 'Gävle-Sandviken',
|
||||
46270 => 'Söderhamn',
|
||||
46271 => 'Alfta-Edsbyn',
|
||||
@@ -64,7 +68,9 @@ return array (
|
||||
46297 => 'Ockelbo-Hamrånge',
|
||||
46300 => 'Kungsbacka',
|
||||
46301 => 'Hindås',
|
||||
46302 => 'Lerum',
|
||||
46303 => 'Kungälv',
|
||||
46304 => 'Orust-Tjörn',
|
||||
4631 => 'Gothenburg',
|
||||
46320 => 'Kinna',
|
||||
46321 => 'Ulricehamn',
|
||||
@@ -125,6 +131,7 @@ return array (
|
||||
46492 => 'Vimmerby',
|
||||
46493 => 'Gamleby',
|
||||
46494 => 'Kisa',
|
||||
46495 => 'Hultsfred-Virserum',
|
||||
46496 => 'Mariannelund',
|
||||
46498 => 'Gotland',
|
||||
46499 => 'Mönsterås',
|
||||
@@ -138,6 +145,7 @@ return array (
|
||||
46510 => 'Lidköping',
|
||||
46511 => 'Skara-Götene',
|
||||
46512 => 'Vara-Nossebro',
|
||||
46513 => 'Herrljunga',
|
||||
46514 => 'Grästorp',
|
||||
46515 => 'Falköping',
|
||||
46520 => 'Trollhättan',
|
||||
@@ -159,6 +167,7 @@ return array (
|
||||
46552 => 'Deje',
|
||||
46553 => 'Molkom',
|
||||
46554 => 'Kil',
|
||||
46555 => 'Grums',
|
||||
46560 => 'Torsby',
|
||||
46563 => 'Hagfors-Munkfors',
|
||||
46564 => 'Sysslebäck',
|
||||
@@ -172,6 +181,7 @@ return array (
|
||||
46583 => 'Askersund',
|
||||
46584 => 'Laxå',
|
||||
46585 => 'Fjugesta-Svartå',
|
||||
46586 => 'Karlskoga-Degerfors',
|
||||
46587 => 'Nora',
|
||||
46589 => 'Arboga',
|
||||
46590 => 'Filipstad',
|
||||
@@ -212,6 +222,7 @@ return array (
|
||||
46691 => 'Torpshammar',
|
||||
46692 => 'Liden',
|
||||
46693 => 'Bräcke-Gällö',
|
||||
46695 => 'Stugun',
|
||||
46696 => 'Hammarstrand',
|
||||
468 => 'Stockholm',
|
||||
4690 => 'Umeå',
|
||||
@@ -219,6 +230,7 @@ return array (
|
||||
46911 => 'Piteå',
|
||||
46912 => 'Byske',
|
||||
46913 => 'Lövånger',
|
||||
46914 => 'Burträsk',
|
||||
46915 => 'Bastuträsk',
|
||||
46916 => 'Jörn',
|
||||
46918 => 'Norsjö',
|
||||
@@ -240,14 +252,17 @@ return array (
|
||||
46940 => 'Vilhelmina',
|
||||
46941 => 'Åsele',
|
||||
46942 => 'Dorotea',
|
||||
46943 => 'Fredrika',
|
||||
46950 => 'Lycksele',
|
||||
46951 => 'Storuman',
|
||||
46952 => 'Sorsele',
|
||||
46953 => 'Malå',
|
||||
46954 => 'Tärnaby',
|
||||
46960 => 'Arvidsjaur',
|
||||
46961 => 'Arjeplog',
|
||||
46970 => 'Gällivare',
|
||||
46971 => 'Jokkmokk',
|
||||
46973 => 'Porjus',
|
||||
46975 => 'Hakkas',
|
||||
46976 => 'Vuollerim',
|
||||
46977 => 'Korpilombolo',
|
||||
|
Reference in New Issue
Block a user