From d76a4e9959bfd82fdd50ee0bda15c653847988b3 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Wed, 4 Sep 2013 10:33:10 +0100 Subject: [PATCH 1/7] Start of merging changes from Google's v5.8 Unit Tests do fail, from a quick look, it appears because it's using the test data, but the emergency numbers are stored only in the ShortNumber data. --- Tests/ShortNumberInfoTest.php | 282 ++++++++++++ Tests/ShortNumberUtilTest.php | 57 +-- .../data/PhoneNumberMetadataForTesting_BR.php | 13 +- .../data/PhoneNumberMetadataForTesting_US.php | 9 +- .../AlternateFormatsCountryCodeSet.php | 42 +- .../CountryCodeToRegionCodeMapForTesting.php | 5 + src/libphonenumber/PhoneMetadata.php | 24 + src/libphonenumber/PhoneNumberUtil.php | 41 +- src/libphonenumber/RegionCode.php | 2 + src/libphonenumber/ShortNumberInfo.php | 427 ++++++++++++++++++ src/libphonenumber/ShortNumberUtil.php | 167 +------ .../ShortNumbersRegionCodeSet.php | 279 +++++++++--- .../data/PhoneNumberAlternateFormats_43.php | 26 ++ .../data/PhoneNumberAlternateFormats_44.php | 15 +- .../data/PhoneNumberAlternateFormats_49.php | 86 +++- .../data/PhoneNumberMetadata_AC.php | 6 +- .../data/PhoneNumberMetadata_AD.php | 6 +- .../data/PhoneNumberMetadata_AE.php | 9 +- .../data/PhoneNumberMetadata_AF.php | 11 +- .../data/PhoneNumberMetadata_AG.php | 11 +- .../data/PhoneNumberMetadata_AI.php | 6 +- .../data/PhoneNumberMetadata_AL.php | 6 +- .../data/PhoneNumberMetadata_AM.php | 6 +- .../data/PhoneNumberMetadata_AO.php | 6 +- .../data/PhoneNumberMetadata_AR.php | 36 +- .../data/PhoneNumberMetadata_AS.php | 6 +- .../data/PhoneNumberMetadata_AT.php | 14 +- .../data/PhoneNumberMetadata_AU.php | 9 +- .../data/PhoneNumberMetadata_AW.php | 9 +- .../data/PhoneNumberMetadata_AX.php | 6 +- .../data/PhoneNumberMetadata_AZ.php | 11 +- .../data/PhoneNumberMetadata_BA.php | 6 +- .../data/PhoneNumberMetadata_BB.php | 6 +- .../data/PhoneNumberMetadata_BD.php | 9 +- .../data/PhoneNumberMetadata_BE.php | 11 +- .../data/PhoneNumberMetadata_BF.php | 8 +- .../data/PhoneNumberMetadata_BG.php | 12 +- .../data/PhoneNumberMetadata_BH.php | 6 +- .../data/PhoneNumberMetadata_BI.php | 6 +- .../data/PhoneNumberMetadata_BJ.php | 6 +- .../data/PhoneNumberMetadata_BL.php | 6 +- .../data/PhoneNumberMetadata_BM.php | 6 +- .../data/PhoneNumberMetadata_BN.php | 6 +- .../data/PhoneNumberMetadata_BO.php | 6 +- .../data/PhoneNumberMetadata_BQ.php | 9 +- .../data/PhoneNumberMetadata_BR.php | 13 +- .../data/PhoneNumberMetadata_BS.php | 6 +- .../data/PhoneNumberMetadata_BT.php | 6 +- .../data/PhoneNumberMetadata_BW.php | 6 +- .../data/PhoneNumberMetadata_BY.php | 11 +- .../data/PhoneNumberMetadata_BZ.php | 11 +- .../data/PhoneNumberMetadata_CA.php | 9 +- .../data/PhoneNumberMetadata_CC.php | 9 +- .../data/PhoneNumberMetadata_CH.php | 11 +- .../data/PhoneNumberMetadata_CI.php | 11 +- .../data/PhoneNumberMetadata_CK.php | 6 +- .../data/PhoneNumberMetadata_CL.php | 87 +++- .../data/PhoneNumberMetadata_CM.php | 6 +- .../data/PhoneNumberMetadata_CN.php | 11 +- .../data/PhoneNumberMetadata_CO.php | 13 +- .../data/PhoneNumberMetadata_CR.php | 9 +- .../data/PhoneNumberMetadata_CU.php | 6 +- .../data/PhoneNumberMetadata_CV.php | 6 +- .../data/PhoneNumberMetadata_CW.php | 9 +- .../data/PhoneNumberMetadata_CX.php | 9 +- .../data/PhoneNumberMetadata_CY.php | 11 +- .../data/PhoneNumberMetadata_CZ.php | 11 +- .../data/PhoneNumberMetadata_DE.php | 6 +- .../data/PhoneNumberMetadata_DJ.php | 6 +- .../data/PhoneNumberMetadata_DK.php | 6 +- .../data/PhoneNumberMetadata_DM.php | 12 +- .../data/PhoneNumberMetadata_DO.php | 9 +- .../data/PhoneNumberMetadata_DZ.php | 6 +- .../data/PhoneNumberMetadata_EC.php | 12 +- .../data/PhoneNumberMetadata_EE.php | 6 +- .../data/PhoneNumberMetadata_EG.php | 15 +- .../data/PhoneNumberMetadata_EH.php | 11 +- .../data/PhoneNumberMetadata_ES.php | 16 +- .../data/PhoneNumberMetadata_ET.php | 12 +- .../data/PhoneNumberMetadata_FI.php | 6 +- .../data/PhoneNumberMetadata_FJ.php | 6 +- .../data/PhoneNumberMetadata_FK.php | 6 +- .../data/PhoneNumberMetadata_FM.php | 9 +- .../data/PhoneNumberMetadata_FO.php | 6 +- .../data/PhoneNumberMetadata_FR.php | 11 +- .../data/PhoneNumberMetadata_GA.php | 10 +- .../data/PhoneNumberMetadata_GB.php | 9 +- .../data/PhoneNumberMetadata_GD.php | 6 +- .../data/PhoneNumberMetadata_GE.php | 16 +- .../data/PhoneNumberMetadata_GF.php | 6 +- .../data/PhoneNumberMetadata_GG.php | 9 +- .../data/PhoneNumberMetadata_GH.php | 9 +- .../data/PhoneNumberMetadata_GI.php | 11 +- .../data/PhoneNumberMetadata_GL.php | 6 +- .../data/PhoneNumberMetadata_GM.php | 6 +- .../data/PhoneNumberMetadata_GP.php | 6 +- .../data/PhoneNumberMetadata_GR.php | 13 +- .../data/PhoneNumberMetadata_GT.php | 11 +- .../data/PhoneNumberMetadata_GU.php | 6 +- .../data/PhoneNumberMetadata_GW.php | 6 +- .../data/PhoneNumberMetadata_GY.php | 6 +- .../data/PhoneNumberMetadata_HK.php | 9 +- .../data/PhoneNumberMetadata_HN.php | 6 +- .../data/PhoneNumberMetadata_HR.php | 12 +- .../data/PhoneNumberMetadata_HT.php | 6 +- .../data/PhoneNumberMetadata_HU.php | 11 +- .../data/PhoneNumberMetadata_ID.php | 6 +- .../data/PhoneNumberMetadata_IE.php | 9 +- .../data/PhoneNumberMetadata_IL.php | 11 +- .../data/PhoneNumberMetadata_IM.php | 6 +- .../data/PhoneNumberMetadata_IN.php | 13 +- .../data/PhoneNumberMetadata_IR.php | 11 +- .../data/PhoneNumberMetadata_IS.php | 6 +- .../data/PhoneNumberMetadata_IT.php | 6 +- .../data/PhoneNumberMetadata_JE.php | 9 +- .../data/PhoneNumberMetadata_JM.php | 6 +- .../data/PhoneNumberMetadata_JO.php | 12 +- .../data/PhoneNumberMetadata_JP.php | 6 +- .../data/PhoneNumberMetadata_KE.php | 9 +- .../data/PhoneNumberMetadata_KG.php | 6 +- .../data/PhoneNumberMetadata_KH.php | 9 +- .../data/PhoneNumberMetadata_KI.php | 6 +- .../data/PhoneNumberMetadata_KM.php | 6 +- .../data/PhoneNumberMetadata_KN.php | 12 +- .../data/PhoneNumberMetadata_KR.php | 6 +- .../data/PhoneNumberMetadata_KW.php | 6 +- .../data/PhoneNumberMetadata_KY.php | 6 +- .../data/PhoneNumberMetadata_KZ.php | 11 +- .../data/PhoneNumberMetadata_LA.php | 6 +- .../data/PhoneNumberMetadata_LB.php | 13 +- .../data/PhoneNumberMetadata_LC.php | 11 +- .../data/PhoneNumberMetadata_LI.php | 11 +- .../data/PhoneNumberMetadata_LK.php | 6 +- .../data/PhoneNumberMetadata_LR.php | 9 +- .../data/PhoneNumberMetadata_LS.php | 6 +- .../data/PhoneNumberMetadata_LT.php | 16 +- .../data/PhoneNumberMetadata_LU.php | 6 +- .../data/PhoneNumberMetadata_LV.php | 9 +- .../data/PhoneNumberMetadata_LY.php | 6 +- .../data/PhoneNumberMetadata_MA.php | 11 +- .../data/PhoneNumberMetadata_MC.php | 11 +- .../data/PhoneNumberMetadata_MD.php | 9 +- .../data/PhoneNumberMetadata_ME.php | 11 +- .../data/PhoneNumberMetadata_MF.php | 6 +- .../data/PhoneNumberMetadata_MG.php | 6 +- .../data/PhoneNumberMetadata_MK.php | 11 +- .../data/PhoneNumberMetadata_ML.php | 44 +- .../data/PhoneNumberMetadata_MM.php | 6 +- .../data/PhoneNumberMetadata_MN.php | 6 +- .../data/PhoneNumberMetadata_MO.php | 6 +- .../data/PhoneNumberMetadata_MP.php | 6 +- .../data/PhoneNumberMetadata_MQ.php | 11 +- .../data/PhoneNumberMetadata_MR.php | 6 +- .../data/PhoneNumberMetadata_MS.php | 11 +- .../data/PhoneNumberMetadata_MT.php | 6 +- .../data/PhoneNumberMetadata_MU.php | 9 +- .../data/PhoneNumberMetadata_MV.php | 11 +- .../data/PhoneNumberMetadata_MW.php | 9 +- .../data/PhoneNumberMetadata_MX.php | 11 +- .../data/PhoneNumberMetadata_MY.php | 9 +- .../data/PhoneNumberMetadata_MZ.php | 11 +- .../data/PhoneNumberMetadata_NA.php | 6 +- .../data/PhoneNumberMetadata_NC.php | 13 +- .../data/PhoneNumberMetadata_NF.php | 12 +- .../data/PhoneNumberMetadata_NG.php | 6 +- .../data/PhoneNumberMetadata_NI.php | 6 +- .../data/PhoneNumberMetadata_NL.php | 11 +- .../data/PhoneNumberMetadata_NO.php | 6 +- .../data/PhoneNumberMetadata_NP.php | 11 +- .../data/PhoneNumberMetadata_NR.php | 6 +- .../data/PhoneNumberMetadata_NU.php | 6 +- .../data/PhoneNumberMetadata_NZ.php | 6 +- .../data/PhoneNumberMetadata_OM.php | 6 +- .../data/PhoneNumberMetadata_PA.php | 6 +- .../data/PhoneNumberMetadata_PE.php | 11 +- .../data/PhoneNumberMetadata_PF.php | 6 +- .../data/PhoneNumberMetadata_PG.php | 6 +- .../data/PhoneNumberMetadata_PH.php | 209 +++++---- .../data/PhoneNumberMetadata_PK.php | 14 +- .../data/PhoneNumberMetadata_PL.php | 9 +- .../data/PhoneNumberMetadata_PM.php | 6 +- .../data/PhoneNumberMetadata_PR.php | 6 +- .../data/PhoneNumberMetadata_PT.php | 6 +- .../data/PhoneNumberMetadata_PW.php | 6 +- .../data/PhoneNumberMetadata_PY.php | 9 +- .../data/PhoneNumberMetadata_QA.php | 6 +- .../data/PhoneNumberMetadata_RE.php | 11 +- .../data/PhoneNumberMetadata_RO.php | 6 +- .../data/PhoneNumberMetadata_RS.php | 9 +- .../data/PhoneNumberMetadata_RU.php | 9 +- .../data/PhoneNumberMetadata_RW.php | 6 +- .../data/PhoneNumberMetadata_SA.php | 24 +- .../data/PhoneNumberMetadata_SB.php | 6 +- .../data/PhoneNumberMetadata_SC.php | 6 +- .../data/PhoneNumberMetadata_SD.php | 6 +- .../data/PhoneNumberMetadata_SE.php | 9 +- .../data/PhoneNumberMetadata_SG.php | 6 +- .../data/PhoneNumberMetadata_SH.php | 11 +- .../data/PhoneNumberMetadata_SI.php | 6 +- .../data/PhoneNumberMetadata_SJ.php | 6 +- .../data/PhoneNumberMetadata_SK.php | 11 +- .../data/PhoneNumberMetadata_SL.php | 11 +- .../data/PhoneNumberMetadata_SM.php | 6 +- .../data/PhoneNumberMetadata_SR.php | 6 +- .../data/PhoneNumberMetadata_ST.php | 6 +- .../data/PhoneNumberMetadata_SV.php | 6 +- .../data/PhoneNumberMetadata_SX.php | 6 +- .../data/PhoneNumberMetadata_SY.php | 6 +- .../data/PhoneNumberMetadata_SZ.php | 6 +- .../data/PhoneNumberMetadata_TC.php | 11 +- .../data/PhoneNumberMetadata_TD.php | 6 +- .../data/PhoneNumberMetadata_TG.php | 12 +- .../data/PhoneNumberMetadata_TH.php | 11 +- .../data/PhoneNumberMetadata_TJ.php | 11 +- .../data/PhoneNumberMetadata_TL.php | 6 +- .../data/PhoneNumberMetadata_TM.php | 6 +- .../data/PhoneNumberMetadata_TN.php | 6 +- .../data/PhoneNumberMetadata_TO.php | 13 +- .../data/PhoneNumberMetadata_TR.php | 11 +- .../data/PhoneNumberMetadata_TT.php | 6 +- .../data/PhoneNumberMetadata_TV.php | 6 +- .../data/PhoneNumberMetadata_TW.php | 6 +- .../data/PhoneNumberMetadata_TZ.php | 9 +- .../data/PhoneNumberMetadata_UA.php | 11 +- .../data/PhoneNumberMetadata_UG.php | 6 +- .../data/PhoneNumberMetadata_US.php | 9 +- .../data/PhoneNumberMetadata_UY.php | 9 +- .../data/PhoneNumberMetadata_UZ.php | 12 +- .../data/PhoneNumberMetadata_VA.php | 6 +- .../data/PhoneNumberMetadata_VC.php | 11 +- .../data/PhoneNumberMetadata_VE.php | 8 +- .../data/PhoneNumberMetadata_VG.php | 11 +- .../data/PhoneNumberMetadata_VI.php | 6 +- .../data/PhoneNumberMetadata_VN.php | 6 +- .../data/PhoneNumberMetadata_VU.php | 6 +- .../data/PhoneNumberMetadata_WF.php | 6 +- .../data/PhoneNumberMetadata_WS.php | 6 +- .../data/PhoneNumberMetadata_YE.php | 6 +- .../data/PhoneNumberMetadata_YT.php | 11 +- .../data/PhoneNumberMetadata_ZA.php | 14 +- .../data/PhoneNumberMetadata_ZM.php | 11 +- .../data/PhoneNumberMetadata_ZW.php | 11 +- .../data/ShortNumberMetadata_AM.php | 15 +- .../data/ShortNumberMetadata_AR.php | 44 +- .../data/ShortNumberMetadata_BD.php | 20 +- .../data/ShortNumberMetadata_BR.php | 13 +- .../data/ShortNumberMetadata_CH.php | 11 +- .../data/ShortNumberMetadata_CR.php | 27 +- .../data/ShortNumberMetadata_CU.php | 7 +- .../data/ShortNumberMetadata_CZ.php | 27 +- .../data/ShortNumberMetadata_DE.php | 8 +- .../data/ShortNumberMetadata_EE.php | 13 +- .../data/ShortNumberMetadata_FJ.php | 8 +- .../data/ShortNumberMetadata_FK.php | 17 +- .../data/ShortNumberMetadata_FO.php | 8 +- .../data/ShortNumberMetadata_FR.php | 11 +- .../data/ShortNumberMetadata_GB.php | 9 +- .../data/ShortNumberMetadata_GG.php | 9 +- .../data/ShortNumberMetadata_GI.php | 14 +- .../data/ShortNumberMetadata_GT.php | 11 +- .../data/ShortNumberMetadata_GY.php | 15 +- .../data/ShortNumberMetadata_HT.php | 8 +- .../data/ShortNumberMetadata_IL.php | 36 +- .../data/ShortNumberMetadata_IM.php | 6 +- .../data/ShortNumberMetadata_IT.php | 6 +- .../data/ShortNumberMetadata_JE.php | 9 +- .../data/ShortNumberMetadata_JO.php | 25 +- .../data/ShortNumberMetadata_KE.php | 20 +- .../data/ShortNumberMetadata_KI.php | 15 +- .../data/ShortNumberMetadata_KW.php | 13 +- .../data/ShortNumberMetadata_LI.php | 18 +- .../data/ShortNumberMetadata_LU.php | 27 +- .../data/ShortNumberMetadata_MD.php | 19 +- .../data/ShortNumberMetadata_ME.php | 22 +- .../data/ShortNumberMetadata_MU.php | 9 +- .../data/ShortNumberMetadata_MV.php | 17 +- .../data/ShortNumberMetadata_MZ.php | 33 +- .../data/ShortNumberMetadata_NA.php | 11 +- .../data/ShortNumberMetadata_NC.php | 82 +++- .../data/ShortNumberMetadata_NL.php | 31 +- .../data/ShortNumberMetadata_NR.php | 6 +- .../data/ShortNumberMetadata_PA.php | 17 +- .../data/ShortNumberMetadata_PY.php | 20 +- .../data/ShortNumberMetadata_QA.php | 9 +- .../data/ShortNumberMetadata_RS.php | 9 +- .../data/ShortNumberMetadata_SA.php | 12 +- .../data/ShortNumberMetadata_SB.php | 9 +- .../data/ShortNumberMetadata_SC.php | 11 +- .../data/ShortNumberMetadata_SG.php | 8 +- .../data/ShortNumberMetadata_SH.php | 11 +- .../data/ShortNumberMetadata_SR.php | 14 +- .../data/ShortNumberMetadata_TL.php | 7 +- .../data/ShortNumberMetadata_UY.php | 18 +- 293 files changed, 2609 insertions(+), 1960 deletions(-) create mode 100644 Tests/ShortNumberInfoTest.php create mode 100644 src/libphonenumber/ShortNumberInfo.php diff --git a/Tests/ShortNumberInfoTest.php b/Tests/ShortNumberInfoTest.php new file mode 100644 index 000000000..dc75809d8 --- /dev/null +++ b/Tests/ShortNumberInfoTest.php @@ -0,0 +1,282 @@ +shortInfo = ShortNumberInfo::getInstance( + PhoneNumberUtil::getInstance( + PhoneNumberUtilTest::TEST_META_DATA_FILE_PREFIX, + CountryCodeToRegionCodeMapForTesting::$countryCodeToRegionCodeMapForTesting + ) + ); + } + + public function testIsPossibleShortNumber() + { + $possibleNumber = new PhoneNumber(); + $possibleNumber->setCountryCode(33)->setNationalNumber(123456); + + $this->assertTrue($this->shortInfo->isPossibleShortNumberFromNumber($possibleNumber)); + $this->assertTrue($this->shortInfo->isPossibleShortNumber(123456, RegionCode::FR)); + + $impossibleNumber = new PhoneNumber(); + $impossibleNumber->setCountryCode(33)->setNationalNumber(9); + $this->assertFalse($this->shortInfo->isPossibleShortNumberFromNumber($impossibleNumber)); + $this->assertFalse($this->shortInfo->isPossibleShortNumber(9, RegionCode::FR)); + } + + public function testIsValidShortNumber() + { + $phoneNumberObj = new PhoneNumber(); + $phoneNumberObj->setCountryCode(33)->setNationalNumber(1010); + $this->assertTrue($this->shortInfo->isValidShortNumberFromNumber($phoneNumberObj)); + $this->assertTrue($this->shortInfo->isValidShortNumber(1010, RegionCode::FR)); + + $phoneNumberObj = new PhoneNumber(); + $phoneNumberObj->setCountryCode(33)->setNationalNumber(123456); + $this->assertFalse($this->shortInfo->isValidShortNumberFromNumber($phoneNumberObj)); + $this->assertFalse($this->shortInfo->isValidShortNumber(123456, RegionCode::FR)); + + // Note that GB and GG share the country calling code 44 + $phoneNumberObj = new PhoneNumber(); + $phoneNumberObj->setCountryCode(44)->setNationalNumber(18001); + $this->assertTrue($this->shortInfo->isValidShortNumberFromNumber($phoneNumberObj)); + } + + public function testGetExpectedCost() + { + $premiumRateNumber = new PhoneNumber(); + $premiumRateNumber->setCountryCode(33)->setNationalNumber( + $this->shortInfo->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::PREMIUM_RATE) + ); + $this->assertEquals(ShortNumberCost::PREMIUM_RATE, $this->shortInfo->getExpectedCost($premiumRateNumber)); + + $standardRateNumber = new PhoneNumber(); + $standardRateNumber->setCountryCode(33)->setNationalNumber( + $this->shortInfo->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::STANDARD_RATE) + ); + $this->assertEquals( + ShortNumberCost::STANDARD_RATE, + $this->shortInfo->getExpectedCost($standardRateNumber) + ); + + $tollFreeNumber = new PhoneNumber(); + $tollFreeNumber->setCountryCode(33)->setNationalNumber( + $this->shortInfo->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::TOLL_FREE) + ); + $this->assertEquals(ShortNumberCost::TOLL_FREE, $this->shortInfo->getExpectedCost($tollFreeNumber)); + + $unknownCostNumber = new PhoneNumber(); + $unknownCostNumber->setCountryCode(33)->setNationalNumber(12345); + $this->assertEquals(ShortNumberCost::UNKNOWN_COST, $this->shortInfo->getExpectedCost($unknownCostNumber)); + + // Test that an invalid number may nevertheless have a cost other than UNKNOWN_COST. + $invalidNumber = new PhoneNumber(); + $invalidNumber->setCountryCode(33)->setNationalNumber(116123); + $this->assertFalse($this->shortInfo->isValidShortNumberFromNumber($invalidNumber)); + $this->assertEquals(ShortNumberCost::TOLL_FREE, $this->shortInfo->getExpectedCost($invalidNumber)); + + // Test a non-existent country code. + $unknownCostNumber->clear(); + $unknownCostNumber->setCountryCode(123)->setNationalNumber(911); + $this->assertEquals(ShortNumberCost::UNKNOWN_COST, $this->shortInfo->getExpectedCost($unknownCostNumber)); + } + + public function testGetExampleShortNumber() + { + $this->assertEquals("8711", $this->shortInfo->getExampleShortNumber(RegionCode::AM)); + $this->assertEquals("1010", $this->shortInfo->getExampleShortNumber(RegionCode::FR)); + $this->assertEquals("", $this->shortInfo->getExampleShortNumber(RegionCode::UN001)); + $this->assertEquals("", $this->shortInfo->getExampleShortNumber(null)); + } + + public function testGetExampleShortNumberForCost() + { + $this->assertEquals( + "3010", + $this->shortInfo->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::TOLL_FREE) + ); + $this->assertEquals( + "118777", + $this->shortInfo->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::STANDARD_RATE) + ); + $this->assertEquals( + "3200", + $this->shortInfo->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::PREMIUM_RATE) + ); + $this->assertEquals( + "", + $this->shortInfo->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::UNKNOWN_COST) + ); + } + + public function testConnectsToEmergencyNumber_US() + { + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber("911", RegionCode::US)); + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber("112", RegionCode::US)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("999", RegionCode::US)); + } + + public function testConnectsToEmergencyNumberLongNumber_US() + { + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber("9116666666", RegionCode::US)); + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber("1126666666", RegionCode::US)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("9996666666", RegionCode::US)); + } + + public function testConnectsToEmergencyNumberWithFormatting_US() + { + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber("9-1-1", RegionCode::US)); + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber("1-1-2", RegionCode::US)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("9-9-9", RegionCode::US)); + } + + public function testConnectsToEmergencyNumberWithPlusSign_US() + { + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("+911", RegionCode::US)); + $this->assertFalse( + $this->shortInfo->connectsToEmergencyNumber(self::$plusSymbol . "911", RegionCode::US) + ); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber(" +911", RegionCode::US)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("+112", RegionCode::US)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("+999", RegionCode::US)); + } + + public function testConnectsToEmergencyNumber_BR() + { + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber("911", RegionCode::BR)); + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber("190", RegionCode::BR)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("999", RegionCode::BR)); + } + + public function testConnectsToEmergencyNumberLongNumber_BR() + { + // Brazilian emergency numbers don't work when additional digits are appended. + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("9111", RegionCode::BR)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("1900", RegionCode::BR)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("9996", RegionCode::BR)); + } + + public function testConnectsToEmergencyNumber_CL() + { + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber('131', RegionCode::CL)); + $this->assertTrue($this->shortInfo->connectsToEmergencyNumber('133', RegionCode::CL)); + } + + public function testConnectsToEmergencyNumberLongNumber_CL() + { + // Chilean emergency numbers don't work when additional digits are appended. + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber('1313', RegionCode::CL)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber('1330', RegionCode::CL)); + } + + public function testConnectsToEmergencyNumber_AO() + { + // Angola doesn't have any metadata for emergency numbers in the test metadata. + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("911", RegionCode::AO)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("222123456", RegionCode::BR)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("923123456", RegionCode::BR)); + } + + public function testConnectsToEmergencyNumber_ZW() + { + // Zimbabwe doesn't have any metadata in the test metadata. + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("911", RegionCode::ZW)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("01312345", RegionCode::ZW)); + $this->assertFalse($this->shortInfo->connectsToEmergencyNumber("0711234567", RegionCode::ZW)); + } + + public function testIsEmergencyNumber_US() + { + $this->assertTrue($this->shortInfo->isEmergencyNumber("911", RegionCode::US)); + $this->assertTrue($this->shortInfo->isEmergencyNumber("112", RegionCode::US)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("999", RegionCode::US)); + } + + public function testIsEmergencyNumberLongNumber_US() + { + $this->assertFalse($this->shortInfo->isEmergencyNumber("9116666666", RegionCode::US)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("1126666666", RegionCode::US)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("9996666666", RegionCode::US)); + } + + public function testIsEmergencyNumberWithFormatting_US() + { + $this->assertTrue($this->shortInfo->isEmergencyNumber("9-1-1", RegionCode::US)); + $this->assertTrue($this->shortInfo->isEmergencyNumber("*911", RegionCode::US)); + $this->assertTrue($this->shortInfo->isEmergencyNumber("1-1-2", RegionCode::US)); + $this->assertTrue($this->shortInfo->isEmergencyNumber("*112", RegionCode::US)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("9-9-9", RegionCode::US)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("*999", RegionCode::US)); + } + + public function testIsEmergencyNumberWithPlusSign_US() + { + $this->assertFalse($this->shortInfo->isEmergencyNumber("+911", RegionCode::US)); + $this->assertFalse($this->shortInfo->isEmergencyNumber(self::$plusSymbol . "911", RegionCode::US)); + $this->assertFalse($this->shortInfo->isEmergencyNumber(" +911", RegionCode::US)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("+112", RegionCode::US)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("+999", RegionCode::US)); + } + + public function testIsEmergencyNumber_BR() + { + $this->assertTrue($this->shortInfo->isEmergencyNumber("911", RegionCode::BR)); + $this->assertTrue($this->shortInfo->isEmergencyNumber("190", RegionCode::BR)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("999", RegionCode::BR)); + } + + public function testIsEmergencyNumberLongNumber_BR() + { + $this->assertFalse($this->shortInfo->isEmergencyNumber("9111", RegionCode::BR)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("1900", RegionCode::BR)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("9996", RegionCode::BR)); + } + + public function testIsEmergencyNumber_AO() + { + // Angola doesn't have any metadata for emergency numbers in the test metadata. + $this->assertFalse($this->shortInfo->isEmergencyNumber("911", RegionCode::AO)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("222123456", RegionCode::AO)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("923123456", RegionCode::AO)); + } + + public function testIsEmergencyNumber_ZW() + { + // Zimbabwe doesn't have any metadata in the test metadata. + $this->assertFalse($this->shortInfo->isEmergencyNumber("911", RegionCode::ZW)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("01312345", RegionCode::ZW)); + $this->assertFalse($this->shortInfo->isEmergencyNumber("0711234567", RegionCode::ZW)); + } +} + +/* EOF */ \ No newline at end of file diff --git a/Tests/ShortNumberUtilTest.php b/Tests/ShortNumberUtilTest.php index 5ea71d3b3..3ab77e533 100644 --- a/Tests/ShortNumberUtilTest.php +++ b/Tests/ShortNumberUtilTest.php @@ -4,9 +4,8 @@ use libphonenumber\CountryCodeToRegionCodeMapForTesting; use libphonenumber\PhoneNumberUtil; -use libphonenumber\RegionCode; -use libphonenumber\ShortNumberCost; use libphonenumber\ShortNumberUtil; +use libphonenumber\RegionCode; require_once __DIR__ . '/../vendor/autoload.php'; require_once __DIR__ . '/PhoneNumberUtilTest.php'; @@ -14,13 +13,12 @@ class ShortNumberUtilTest extends \PHPUnit_Framework_TestCase { + private static $plusSymbol; /** * @var ShortNumberUtil */ private $shortUtil; - private static $plusSymbol; - public function setUp() { self::$plusSymbol = pack('H*', 'efbc8b'); @@ -32,61 +30,35 @@ public function setUp() )); } - public function testGetExampleShortNumber() - { - $this->assertEquals("8711", $this->shortUtil->getExampleShortNumber(RegionCode::AM)); - $this->assertEquals("1010", $this->shortUtil->getExampleShortNumber(RegionCode::FR)); - $this->assertEquals("", $this->shortUtil->getExampleShortNumber(RegionCode::UN001)); - $this->assertEquals("", $this->shortUtil->getExampleShortNumber(null)); - } - - public function testGetExampleShortNumberForCost() - { - $this->assertEquals( - "3010", - $this->shortUtil->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::TOLL_FREE) - ); - $this->assertEquals( - "118777", - $this->shortUtil->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::STANDARD_RATE) - ); - $this->assertEquals( - "3200", - $this->shortUtil->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::PREMIUM_RATE) - ); - $this->assertEquals( - "", - $this->shortUtil->getExampleShortNumberForCost(RegionCode::FR, ShortNumberCost::UNKNOWN_COST) - ); - } - public function testConnectsToEmergencyNumber_US() { $this->assertTrue($this->shortUtil->connectsToEmergencyNumber("911", RegionCode::US)); - $this->assertTrue($this->shortUtil->connectsToEmergencyNumber("119", RegionCode::US)); + $this->assertTrue($this->shortUtil->connectsToEmergencyNumber("112", RegionCode::US)); $this->assertFalse($this->shortUtil->connectsToEmergencyNumber("999", RegionCode::US)); } public function testConnectsToEmergencyNumberLongNumber_US() { $this->assertTrue($this->shortUtil->connectsToEmergencyNumber("9116666666", RegionCode::US)); - $this->assertTrue($this->shortUtil->connectsToEmergencyNumber("1196666666", RegionCode::US)); + $this->assertTrue($this->shortUtil->connectsToEmergencyNumber("1126666666", RegionCode::US)); $this->assertFalse($this->shortUtil->connectsToEmergencyNumber("9996666666", RegionCode::US)); } public function testConnectsToEmergencyNumberWithFormatting_US() { $this->assertTrue($this->shortUtil->connectsToEmergencyNumber("9-1-1", RegionCode::US)); - $this->assertTrue($this->shortUtil->connectsToEmergencyNumber("1-1-9", RegionCode::US)); + $this->assertTrue($this->shortUtil->connectsToEmergencyNumber("1-1-2", RegionCode::US)); $this->assertFalse($this->shortUtil->connectsToEmergencyNumber("9-9-9", RegionCode::US)); } public function testConnectsToEmergencyNumberWithPlusSign_US() { $this->assertFalse($this->shortUtil->connectsToEmergencyNumber("+911", RegionCode::US)); - $this->assertFalse($this->shortUtil->connectsToEmergencyNumber(self::$plusSymbol . "911", RegionCode::US)); + $this->assertFalse( + $this->shortUtil->connectsToEmergencyNumber(self::$plusSymbol . "911", RegionCode::US) + ); $this->assertFalse($this->shortUtil->connectsToEmergencyNumber(" +911", RegionCode::US)); - $this->assertFalse($this->shortUtil->connectsToEmergencyNumber("+119", RegionCode::US)); + $this->assertFalse($this->shortUtil->connectsToEmergencyNumber("+112", RegionCode::US)); $this->assertFalse($this->shortUtil->connectsToEmergencyNumber("+999", RegionCode::US)); } @@ -124,14 +96,14 @@ public function testConnectsToEmergencyNumber_ZW() public function testIsEmergencyNumber_US() { $this->assertTrue($this->shortUtil->isEmergencyNumber("911", RegionCode::US)); - $this->assertTrue($this->shortUtil->isEmergencyNumber("119", RegionCode::US)); + $this->assertTrue($this->shortUtil->isEmergencyNumber("112", RegionCode::US)); $this->assertFalse($this->shortUtil->isEmergencyNumber("999", RegionCode::US)); } public function testIsEmergencyNumberLongNumber_US() { $this->assertFalse($this->shortUtil->isEmergencyNumber("9116666666", RegionCode::US)); - $this->assertFalse($this->shortUtil->isEmergencyNumber("1196666666", RegionCode::US)); + $this->assertFalse($this->shortUtil->isEmergencyNumber("1126666666", RegionCode::US)); $this->assertFalse($this->shortUtil->isEmergencyNumber("9996666666", RegionCode::US)); } @@ -139,8 +111,8 @@ public function testIsEmergencyNumberWithFormatting_US() { $this->assertTrue($this->shortUtil->isEmergencyNumber("9-1-1", RegionCode::US)); $this->assertTrue($this->shortUtil->isEmergencyNumber("*911", RegionCode::US)); - $this->assertTrue($this->shortUtil->isEmergencyNumber("1-1-9", RegionCode::US)); - $this->assertTrue($this->shortUtil->isEmergencyNumber("*119", RegionCode::US)); + $this->assertTrue($this->shortUtil->isEmergencyNumber("1-1-2", RegionCode::US)); + $this->assertTrue($this->shortUtil->isEmergencyNumber("*112", RegionCode::US)); $this->assertFalse($this->shortUtil->isEmergencyNumber("9-9-9", RegionCode::US)); $this->assertFalse($this->shortUtil->isEmergencyNumber("*999", RegionCode::US)); } @@ -150,7 +122,7 @@ public function testIsEmergencyNumberWithPlusSign_US() $this->assertFalse($this->shortUtil->isEmergencyNumber("+911", RegionCode::US)); $this->assertFalse($this->shortUtil->isEmergencyNumber(self::$plusSymbol . "911", RegionCode::US)); $this->assertFalse($this->shortUtil->isEmergencyNumber(" +911", RegionCode::US)); - $this->assertFalse($this->shortUtil->isEmergencyNumber("+119", RegionCode::US)); + $this->assertFalse($this->shortUtil->isEmergencyNumber("+112", RegionCode::US)); $this->assertFalse($this->shortUtil->isEmergencyNumber("+999", RegionCode::US)); } @@ -183,6 +155,7 @@ public function testIsEmergencyNumber_ZW() $this->assertFalse($this->shortUtil->isEmergencyNumber("01312345", RegionCode::ZW)); $this->assertFalse($this->shortUtil->isEmergencyNumber("0711234567", RegionCode::ZW)); } + } /* EOF */ \ No newline at end of file diff --git a/Tests/data/PhoneNumberMetadataForTesting_BR.php b/Tests/data/PhoneNumberMetadataForTesting_BR.php index ecc65527e..99424db81 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_BR.php +++ b/Tests/data/PhoneNumberMetadataForTesting_BR.php @@ -67,12 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 19[023]| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '190', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -100,9 +97,7 @@ ), 'id' => 'BR', 'countryCode' => 55, - 'internationalPrefix' => '0014', - 'nationalPrefix' => '0', - 'nationalPrefixForParsing' => '0', + 'internationalPrefix' => '', 'sameMobileAndFixedLinePattern' => true, 'numberFormat' => array ( diff --git a/Tests/data/PhoneNumberMetadataForTesting_US.php b/Tests/data/PhoneNumberMetadataForTesting_US.php index 25e8eb55a..d5de08cce 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_US.php +++ b/Tests/data/PhoneNumberMetadataForTesting_US.php @@ -67,12 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 119| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/AlternateFormatsCountryCodeSet.php b/src/libphonenumber/AlternateFormatsCountryCodeSet.php index 35f68f147..1c7791538 100644 --- a/src/libphonenumber/AlternateFormatsCountryCodeSet.php +++ b/src/libphonenumber/AlternateFormatsCountryCodeSet.php @@ -11,23 +11,31 @@ class AlternateFormatsCountryCodeSet { public static $alternateFormatsCountryCodeSet = array ( 0 => 7, - 1 => 34, - 2 => 43, - 3 => 44, - 4 => 49, - 5 => 55, - 6 => 61, - 7 => 81, - 8 => 90, - 9 => 351, - 10 => 352, - 11 => 359, - 12 => 372, - 13 => 373, - 14 => 375, - 15 => 380, - 16 => 595, - 17 => 855, + 1 => 30, + 2 => 31, + 3 => 34, + 4 => 43, + 5 => 44, + 6 => 49, + 7 => 55, + 8 => 58, + 9 => 61, + 10 => 62, + 11 => 63, + 12 => 81, + 13 => 90, + 14 => 351, + 15 => 352, + 16 => 359, + 17 => 372, + 18 => 373, + 19 => 375, + 20 => 380, + 21 => 385, + 22 => 595, + 23 => 855, + 24 => 971, + 25 => 972, ); } diff --git a/src/libphonenumber/CountryCodeToRegionCodeMapForTesting.php b/src/libphonenumber/CountryCodeToRegionCodeMapForTesting.php index d4c220d37..823fac4c2 100644 --- a/src/libphonenumber/CountryCodeToRegionCodeMapForTesting.php +++ b/src/libphonenumber/CountryCodeToRegionCodeMapForTesting.php @@ -18,6 +18,10 @@ class CountryCodeToRegionCodeMapForTesting { 0 => 'US', 1 => 'BS', ), + 33 => + array ( + 0 => 'FR', + ), 39 => array ( 0 => 'IT', @@ -25,6 +29,7 @@ class CountryCodeToRegionCodeMapForTesting { 44 => array ( 0 => 'GB', + 1 => 'GG', ), 48 => array ( diff --git a/src/libphonenumber/PhoneMetadata.php b/src/libphonenumber/PhoneMetadata.php index bb5a39d04..777360927 100644 --- a/src/libphonenumber/PhoneMetadata.php +++ b/src/libphonenumber/PhoneMetadata.php @@ -467,6 +467,21 @@ public function setStandardRate(PhoneNumberDesc $value) { return $this; } + private $carrierSpecific; + + public function hasCarrierSpecific() { + return isset($this->carrierSpecific); + } + + public function getCarrierSpecific() { + return $this->carrierSpecific; + } + + public function setCarrierSpecific(PhoneNumberDesc $value) { + $this->carrierSpecific = $value; + return $this; + } + private $noInternationalDialling = null; @@ -575,6 +590,10 @@ public function toArray() { $output['standardRate'] = $this->getStandardRate()->toArray(); } + if ($this->hasCarrierSpecific()) { + $output['carrierSpecific'] = $this->getCarrierSpecific()->toArray(); + } + if ($this->hasNoInternationalDialling()) { $output['noInternationalDialling'] = $this->getNoInternationalDialling()->toArray(); } @@ -699,6 +718,11 @@ public function fromArray(array $input) { $desc = new PhoneNumberDesc(); $this->setStandardRate($desc->fromArray($input['standardRate'])); } + + if (isset($input['carrierSpecific'])) { + $desc = new PhoneNumberDesc(); + $this->setCarrierSpecific($desc->fromArray($input['carrierSpecific'])); + } if (isset($input['noInternationalDialling'])) { $desc = new PhoneNumberDesc(); diff --git a/src/libphonenumber/PhoneNumberUtil.php b/src/libphonenumber/PhoneNumberUtil.php index 1a50b866d..efe1aa4bd 100644 --- a/src/libphonenumber/PhoneNumberUtil.php +++ b/src/libphonenumber/PhoneNumberUtil.php @@ -46,6 +46,10 @@ class PhoneNumberUtil const TEST_META_DATA_FILE_PREFIX = 'PhoneNumberMetadataForTesting'; const UNKNOWN_REGION = "ZZ"; const NANPA_COUNTRY_CODE = 1; + /* + * The prefix that needs to be inserted in front of a Colombian landline number when dialed from + * a mobile number in Colombia. + */ const COLOMBIA_MOBILE_TO_FIXED_LINE_PREFIX = "3"; const PLUS_SIGN = '+'; const PLUS_CHARS = '++'; @@ -59,8 +63,6 @@ class PhoneNumberUtil const RFC3966_PHONE_CONTEXT = ";phone-context="; const RFC3966_ISDN_SUBADDRESS = ";isub="; - // The prefix that needs to be inserted in front of a Colombian landline number when dialed from - // a mobile phone in Colombia. const VALID_ALPHA_PHONE_PATTERN = "(?:.*?[A-Za-z]){3}.*"; // The PLUS_SIGN signifies the international prefix. @@ -72,35 +74,6 @@ class PhoneNumberUtil const FIRST_GROUP_PATTERN = "(\\$\\d)"; const NP_PATTERN = '\\$NP'; - /* - private void loadMetadataForRegionFromFile(String filePrefix, String regionCode) { - InputStream source = - PhoneNumberUtil.class.getResourceAsStream(filePrefix + "_" + regionCode); - ObjectInputStream in = null; - try { - in = new ObjectInputStream(source); - PhoneMetadataCollection metadataCollection = new PhoneMetadataCollection(); - metadataCollection.readExternal(in); - for (PhoneMetadata metadata : metadataCollection.getMetadataList()) { - regionToMetadataMap.put(regionCode, metadata); - } - } catch (IOException e) { - LOGGER.log(Level.WARNING, e.toString()); - } finally { - close(in); - } - } - - private static void close(InputStream in) { - if (in != null) { - try { - in.close(); - } catch (IOException e) { - LOGGER.log(Level.WARNING, e.toString()); - } - } - } - */ const FG_PATTERN = '\\$FG'; const CC_PATTERN = '\\$CC'; const FIRST_GROUP_ONLY_PREFIX_PATTERN = '\\(?\\$1\\)?'; @@ -666,17 +639,17 @@ private function getNumberTypeHelper($nationalNumber, PhoneMetadata $metadata) return PhoneNumberType::UNKNOWN; } - private function isNumberPossibleForDesc($nationalNumber, PhoneNumberDesc $numberDesc) + public function isNumberPossibleForDesc($nationalNumber, PhoneNumberDesc $numberDesc) { $possibleNumberPatternMatcher = preg_match( '/^(' . $numberDesc->getPossibleNumberPattern() . ')$/x', $nationalNumber ); - return ($possibleNumberPatternMatcher); + return ($possibleNumberPatternMatcher == 1) ? true : false; } - private function isNumberMatchingDesc($nationalNumber, PhoneNumberDesc $numberDesc) { + public function isNumberMatchingDesc($nationalNumber, PhoneNumberDesc $numberDesc) { $nationalNumberPatternMatcher = preg_match( '/^' . $numberDesc->getNationalNumberPattern() . '$/x', $nationalNumber diff --git a/src/libphonenumber/RegionCode.php b/src/libphonenumber/RegionCode.php index bf99a206a..90d5ca9d4 100644 --- a/src/libphonenumber/RegionCode.php +++ b/src/libphonenumber/RegionCode.php @@ -36,6 +36,7 @@ class RegionCode const BY = "BY"; const CA = "CA"; const CH = "CH"; + const CL = "CL"; const CN = "CN"; const CS = "CS"; const DE = "DE"; @@ -46,6 +47,7 @@ class RegionCode const KR = "KR"; const MX = "MX"; const NZ = "NZ"; + const PG = "PG"; const PL = "PL"; const RE = "RE"; const SG = "SG"; diff --git a/src/libphonenumber/ShortNumberInfo.php b/src/libphonenumber/ShortNumberInfo.php new file mode 100644 index 000000000..1854b4d61 --- /dev/null +++ b/src/libphonenumber/ShortNumberInfo.php @@ -0,0 +1,427 @@ +phoneUtil = PhoneNumberUtil::getInstance(); + } else { + $this->phoneUtil = $phoneNumberUtil; + } + $this->currentFilePrefix = dirname(__FILE__) . '/data/' . self::META_DATA_FILE_PREFIX; + } + + /** + * Returns the singleton instance of ShortNumberInfo + * + * @param PhoneNumberUtil $phoneNumberUtil Optional instance of PhoneNumber Util + * @return \libphonenumber\ShortNumberInfo + */ + public static function getInstance(PhoneNumberUtil $phoneNumberUtil = null) + { + if (null === self::$instance) { + self::$instance = new self($phoneNumberUtil); + } + + return self::$instance; + } + + public static function resetInstance() + { + self::$instance = null; + } + + public function getSupportedRegions() + { + return ShortNumbersRegionCodeSet::$shortNumbersRegionCodeSet; + } + + /** + * Gets a valid short number for the specified region. + * + * @param $regionCode String the region for which an example short number is needed + * @return string a valid short number for the specified region. Returns an empty string when the + * metadata does not contain such information. + */ + public function getExampleShortNumber($regionCode) + { + $phoneMetadata = $this->getMetadataForRegion($regionCode); + if ($phoneMetadata === null) { + return ""; + } + + /** @var PhoneNumberDesc $desc */ + $desc = $phoneMetadata->getShortCode(); + if ($desc !== null && $desc->hasExampleNumber()) { + return $desc->getExampleNumber(); + } + return ""; + } + + /** + * @param $regionCode + * @return PhoneMetadata|null + */ + private function getMetadataForRegion($regionCode) + { + if (!in_array($regionCode, ShortNumbersRegionCodeSet::$shortNumbersRegionCodeSet)) { + return null; + } + + if (!isset($this->regionToMetadataMap[$regionCode])) { + // The regionCode here will be valid and won't be '001', so we don't need to worry about + // what to pass in for the country calling code. + $this->loadMetadataFromFile($this->currentFilePrefix, $regionCode, 0); + } + + return isset($this->regionToMetadataMap[$regionCode]) ? $this->regionToMetadataMap[$regionCode] : null; + } + + private function loadMetadataFromFile($filePrefix, $regionCode, $countryCallingCode) + { + $isNonGeoRegion = PhoneNumberUtil::REGION_CODE_FOR_NON_GEO_ENTITY === $regionCode; + $fileName = $filePrefix . '_' . ($isNonGeoRegion ? $countryCallingCode : $regionCode) . '.php'; + if (!is_readable($fileName)) { + throw new Exception('missing metadata: ' . $fileName); + } else { + $data = include $fileName; + $metadata = new PhoneMetadata(); + $metadata->fromArray($data); + if ($isNonGeoRegion) { + $this->countryCodeToNonGeographicalMetadataMap[$countryCallingCode] = $metadata; + } else { + $this->regionToMetadataMap[$regionCode] = $metadata; + } + } + } + + /** + * Gets a valid short number for the specified cost category. + * + * @param string $regionCode the region for which an example short number is needed + * @param int $cost the cost category of number that is needed + * @return string a valid short number for the specified region and cost category. Returns an empty string + * when the metadata does not contain such information, or the cost is UNKNOWN_COST. + */ + public function getExampleShortNumberForCost($regionCode, $cost) + { + $phoneMetadata = $this->getMetadataForRegion($regionCode); + if ($phoneMetadata === null) { + return ""; + } + + /** @var PhoneNumberDesc $desc */ + $desc = null; + switch ($cost) { + case ShortNumberCost::TOLL_FREE: + $desc = $phoneMetadata->getTollFree(); + break; + case ShortNumberCost::STANDARD_RATE: + $desc = $phoneMetadata->getStandardRate(); + break; + case ShortNumberCost::PREMIUM_RATE: + $desc = $phoneMetadata->getPremiumRate(); + break; + default: + // UNKNOWN_COST numbers are computed by the process of elimination from the other cost categories + break; + } + + if ($desc !== null && $desc->hasExampleNumber()) { + return $desc->getExampleNumber(); + } + + return ""; + } + + /** + * Returns true if the number might be used to connect to an emergency service in the given region + * + * This method takes into account cases where the number might contain formatting, or might have + * additional digits appended (when it is okay to do that in the region specified). + * + * @param string $number the phone number to test + * @param string $regionCode the region where the phone number if being dialled + * @return boolean whether the number might be used to connect to an emergency service in the given region + */ + public function connectsToEmergencyNumber($number, $regionCode) + { + return $this->matchesEmergencyNumberHelper($number, $regionCode, true /* allows prefix match */); + } + + private function matchesEmergencyNumberHelper($number, $regionCode, $allowPrefixMatch) + { + $number = PhoneNumberUtil::extractPossibleNumber($number); + $matcher = new Matcher(PhoneNumberUtil::$PLUS_CHARS_PATTERN, $number); + if ($matcher->lookingAt()) { + // Returns false if the number starts with a plus sign. WE don't believe dialling the country + // code before emergency numbers (e.g. +1911) works, but later, if that proves to work, we can + // add additional logic here to handle it. + return false; + } + + $metadata = $this->phoneUtil->getMetadataForRegion($regionCode); + if ($metadata === null || !$metadata->hasEmergency()) { + return false; + } + + $emergencyNumberPattern = $metadata->getEmergency()->getNationalNumberPattern(); + $normalizedNumber = PhoneNumberUtil::normalizeDigitsOnly($number); + + // In Brazil and Chile, emergency numbers don't work when additional digits are appended + + $emergencyMatcher = new Matcher($emergencyNumberPattern, $normalizedNumber); + + return (!$allowPrefixMatch || $regionCode == "BR" || $regionCode == "CL") + ? $emergencyMatcher->matches() + : $emergencyMatcher->lookingAt(); + } + + /** + * Given a valid short number, determines whether it is carrier-specific (however, nothing is + * implied about its validity). If it is important that the number is valid, then its validity + * must first be checked using {@link isValidShortNumber}. + * + * @param PhoneNumber $number the valid short number to check + * @return boolean whether the short number is carrier-specific (assuming the input was a valid short + * number). + */ + public function isCarrierSpecific(PhoneNumber $number) + { + $regionCodes = $this->phoneUtil->getRegionCodesForCountryCode($number->getCountryCode()); + $regionCode = $this->getRegionCodeForShortNumberFromRegionList($number, $regionCodes); + $nationalNumber = $this->phoneUtil->getNationalSignificantNumber($number); + $phoneMetadata = $this->getMetadataForRegion($regionCode); + + return ($phoneMetadata != null) && ($this->phoneUtil->isNumberMatchingDesc( + $nationalNumber, + $phoneMetadata->getCarrierSpecific() + )); + } + + /** + * Helper method to get the region code for a given phone number, from a list of possible region + * codes. If the list contains more than one region, the first region for which the number is + * valid is returned. + * + * @param PhoneNumber $number + * @param $regionCodes + * @return String|null Region Code (or null if none are found) + */ + private function getRegionCodeForShortNumberFromRegionList(PhoneNumber $number, $regionCodes) + { + if (count($regionCodes) == 0) { + return null; + } elseif (count($regionCodes) == 1) { + return $regionCodes[0]; + } + + $nationalNumber = $this->phoneUtil->getNationalSignificantNumber($number); + + foreach ($regionCodes as $regionCode) { + $phoneMetadata = $this->getMetadataForRegion($regionCode); + if ($phoneMetadata != null && $this->phoneUtil->isNumberMatchingDesc( + $nationalNumber, + $phoneMetadata->getShortCode() + ) + ) { + // The number is valid for this region. + return $regionCode; + } + } + return null; + } + + /** + * Check whether a short number is a possible number. This provides a more lenient check than + * {@link #isValidShortNumber}. See {@link #isPossibleShortNumber(String, String)} for + * details. + * + * @param $number PhoneNumber the short number to check + * @return boolean whether the number is a possible short number + */ + public function isPossibleShortNumberFromNumber(PhoneNumber $number) + { + $regionCodes = $this->phoneUtil->getRegionCodesForCountryCode($number->getCountryCode()); + $shortNumber = $this->phoneUtil->getNationalSignificantNumber($number); + + $regionCode = $this->getRegionCodeForShortNumberFromRegionList($number, $regionCodes); + + if (count($regionCodes) > 1 && $regionCode !== null) { + // If a matching region had been found for the phone number from among two or more regions, + // then we have already implicitly verified its validity for that region. + return true; + } + return $this->isPossibleShortNumber($shortNumber, $regionCode); + } + + /** + * Check whether a short number is a possible number. This provides a more lenient check than + * {@link #isValidShortNumber}. See {@link #isPossibleShortNumber(String, String)} for + * details. + * + * @param $shortNumber String The short number to check + * @param $regionDialingFrom String Region dialing From + * @return boolean whether the number is a possible short number + */ + public function isPossibleShortNumber($shortNumber, $regionDialingFrom) + { + $phoneMetadata = $this->getMetadataForRegion($regionDialingFrom); + + if ($phoneMetadata === null) { + return false; + } + + $generalDesc = $phoneMetadata->getGeneralDesc(); + + return $this->phoneUtil->isNumberPossibleForDesc($shortNumber, $generalDesc); + } + + /** + * Tests whether a short number matches a valid pattern. Note that this doesn't verify the number + * is actually in use, which is impossible to tell by just looking at the number itself. See + * {@link #isValidShortNumber(String, String)} for details. + * + * @param $number PhoneNumber the short number for which we want to test the validity + * @return boolean whether the short number matches a valid pattern + */ + public function isValidShortNumberFromNumber(PhoneNumber $number) + { + $regionCodes = $this->phoneUtil->getRegionCodesForCountryCode($number->getCountryCode()); + $shortNumber = $this->phoneUtil->getNationalSignificantNumber($number); + $regionCode = $this->getRegionCodeForShortNumberFromRegionList($number, $regionCodes); + if (count($regionCodes) > 1 && $regionCode !== null) { + // If a matching region had been found for the phone number from among two or more regions, + // then we have already implicitly verified its validity for that region. + return true; + } + + return $this->isValidShortNumber($shortNumber, $regionCode); + } + + public function isValidShortNumber($shortNumber, $regionDialingFrom) + { + $phoneMetadata = $this->getMetadataForRegion($regionDialingFrom); + + if ($phoneMetadata === null) { + return false; + } + + $generalDesc = $phoneMetadata->getGeneralDesc(); + + if (!$generalDesc->hasNationalNumberPattern() || !$this->phoneUtil->isNumberMatchingDesc( + $shortNumber, + $generalDesc + ) + ) { + return false; + } + + $shortNumberDesc = $phoneMetadata->getShortCode(); + if (!$shortNumberDesc->hasNationalNumberPattern()) { + // No short code national number pattern found for region + return false; + } + + return $this->phoneUtil->isNumberMatchingDesc($shortNumber, $shortNumberDesc); + } + + /** + * Gets the expected cost category of a short number (however, nothing is implied about its + * validity). If it is important that the number is valid, then its validity must first be checked + * using {@link isValidShortNumber}. Note that emergency numbers are always considered toll-free. + * Example usage: + *
{@code
+     * PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance();
+     * ShortNumberInfo shortInfo = ShortNumberInfo.getInstance();
+     * PhoneNumber number = phoneUtil.parse("110", "FR");
+     * if (shortInfo.isValidShortNumber(number)) {
+     *   ShortNumberInfo.ShortNumberCost cost = shortInfo.getExpectedCost(number);
+     *   // Do something with the cost information here.
+     * }}
+ * + * @param $number PhoneNumber the short number for which we want to know the expected cost category + * @return int the expected cost category of the short number. Returns UNKNOWN_COST if the number does + * not match a cost category. Note that an invalid number may match any cost category. + */ + public function getExpectedCost(PhoneNumber $number) + { + $regionCodes = $this->phoneUtil->getRegionCodesForCountryCode($number->getCountryCode()); + $regionCode = $this->getRegionCodeForShortNumberFromRegionList($number, $regionCodes); + + // Note that regionCode may be null, in which case phoneMetadata will also be null. + $phoneMetadata = $this->getMetadataForRegion($regionCode); + if ($phoneMetadata === null) { + return ShortNumberCost::UNKNOWN_COST; + } + + $nationalNumber = $this->phoneUtil->getNationalSignificantNumber($number); + + // The cost categories are tested in order of decreasing expense, since if for some reason the + // patterns overlap the most expensive matching cost category should be returned. + + if ($this->phoneUtil->isNumberMatchingDesc($nationalNumber, $phoneMetadata->getPremiumRate())) { + return ShortNumberCost::PREMIUM_RATE; + } + + if ($this->phoneUtil->isNumberMatchingDesc($nationalNumber, $phoneMetadata->getStandardRate())) { + return ShortNumberCost::STANDARD_RATE; + } + + if ($this->phoneUtil->isNumberMatchingDesc($nationalNumber, $phoneMetadata->getTollFree())) { + return ShortNumberCost::TOLL_FREE; + } + + if ($this->isEmergencyNumber($nationalNumber, $regionCode)) { + // Emergency numbers are implicitly toll-free. + return ShortNumberCost::TOLL_FREE; + } + + return ShortNumberCost::UNKNOWN_COST; + } + + /** + * Returns true if the number exactly matches an emergency service number in the given region. + * + * This method takes into account cases where the number might contain formatting, but doesn't + * allow additional digits to be appended. + * + * @param string $number the phone number to test + * @param string $regionCode the region where the phone number is being dialled + * @return boolean whether the number exactly matches an emergency services number in the given region + */ + public function isEmergencyNumber($number, $regionCode) + { + return $this->matchesEmergencyNumberHelper($number, $regionCode, false /* doesn't allow prefix match */); + } + + +} + +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/ShortNumberUtil.php b/src/libphonenumber/ShortNumberUtil.php index bf1ca9036..c44c9f82e 100644 --- a/src/libphonenumber/ShortNumberUtil.php +++ b/src/libphonenumber/ShortNumberUtil.php @@ -5,145 +5,47 @@ * * @author Shaopeng Jia * @author David Yonge-Mallo + * @deprecated As of release 5.8, replaced by ShortNumberInfo. */ namespace libphonenumber; - +/** + * Class ShortNumberUtil + * @package libphonenumber + * @deprecated As of release 5.8, replaced by ShortNumberInfo. + */ class ShortNumberUtil { - const META_DATA_FILE_PREFIX = 'ShortNumberMetadata'; /** * @var PhoneNumberUtil */ private $phoneUtil; - private $currentFilePrefix; - private $regionToMetadataMap = array(); - private $countryCodeToNonGeographicalMetadataMap = array(); public function __construct(PhoneNumberUtil $phoneNumberUtil = null) { - if ($phoneNumberUtil === null) { - $this->phoneUtil = PhoneNumberUtil::getInstance(); - } else { - $this->phoneUtil = $phoneNumberUtil; - } - $this->currentFilePrefix = dirname(__FILE__) . '/data/' . self::META_DATA_FILE_PREFIX; - - // + $this->phoneUtil = $phoneNumberUtil; } public function getSupportedRegions() { - return ShortNumbersRegionCodeSet::$shortNumbersRegionCodeSet; - } - - /** - * Gets a valid short number for the specified region. - * - * @param $regionCode String the region for which an example short number is needed - * @return string a valid short number for the specified region. Returns an empty string when the - * metadata does not contain such information. - */ - public function getExampleShortNumber($regionCode) - { - $phoneMetadata = $this->getMetadataForRegion($regionCode); - if ($phoneMetadata === null) { - return ""; - } - - /** @var PhoneNumberDesc $desc */ - $desc = $phoneMetadata->getShortCode(); - if ($desc !== null && $desc->hasExampleNumber()) { - return $desc->getExampleNumber(); - } - return ""; - } - - /** - * Gets a valid short number for the specified cost category. - * - * @param string $regionCode the region for which an example short number is needed - * @param int $cost the cost category of number that is needed - * @return string a valid short number for the specified region and cost category. Returns an empty string - * when the metadata does not contain such information, or the cost is UNKNOWN_COST. - */ - public function getExampleShortNumberForCost($regionCode, $cost) - { - $phoneMetadata = $this->getMetadataForRegion($regionCode); - if ($phoneMetadata === null) { - return ""; - } - - /** @var PhoneNumberDesc $desc */ - $desc = $this->getShortNumberDescByCost($phoneMetadata, $cost); - if ($desc !== null && $desc->hasExampleNumber()) { - return $desc->getExampleNumber(); - } - - return ""; - } - - private function getShortNumberDescByCost($metadata, $cost) - { - switch ($cost) { - case ShortNumberCost::TOLL_FREE: - return $metadata->getTollFree(); - break; - case ShortNumberCost::STANDARD_RATE: - return $metadata->getStandardRate(); - break; - case ShortNumberCost::PREMIUM_RATE: - return $metadata->getPremiumRate(); - break; - default: - // UNKNOWN_COST numbers are computed by the process of elimination from the other cost categories - return null; - break; - } + return ShortNumberInfo::getInstance($this->phoneUtil)->getSupportedRegions(); } /** - * Returns true if the number might be used to connect to an emergency service in the given region + * Returns true if the number might be used to connect to an emergency service in the given + * region. * * This method takes into account cases where the number might contain formatting, or might have * additional digits appended (when it is okay to do that in the region specified). * - * @param string $number the phone number to test - * @param string $regionCode the region where the phone number if being dialled - * @return boolean if the number might be used to connect to an emergency service in the given region + * @param $number String the phone number to test + * @param $regionCode String the region where the phone number is being dialed + * @return boolean if the number might be used to connect to an emergency service in the given region. */ public function connectsToEmergencyNumber($number, $regionCode) { - return $this->matchesEmergencyNumberHelper($number, $regionCode, true /* allows prefix match */); - } - - private function matchesEmergencyNumberHelper($number, $regionCode, $allowPrefixMatch) - { - $number = PhoneNumberUtil::extractPossibleNumber($number); - $matcher = new Matcher(PhoneNumberUtil::$PLUS_CHARS_PATTERN, $number); - if ($matcher->lookingAt()) { - // Returns false if the number starts with a plus sign. WE don't believe dialling the country - // code before emergency numbers (e.g. +1911) works, but later, if that proves to work, we can - // add additional logic here to handle it. - return false; - } - - $metadata = $this->phoneUtil->getMetadataForRegion($regionCode); - if ($metadata === null || !$metadata->hasEmergency()) { - return false; - } - - $emergencyNumberPattern = $metadata->getEmergency()->getNationalNumberPattern(); - $normalizedNumber = PhoneNumberUtil::normalizeDigitsOnly($number); - - // In Brazil, emergency numbers don't work when additional digits are appended - - $emergencyMatcher = new Matcher($emergencyNumberPattern, $normalizedNumber); - - return (!$allowPrefixMatch || $regionCode == "BR") - ? $emergencyMatcher->matches() - : $emergencyMatcher->lookingAt(); + return ShortNumberInfo::getInstance($this->phoneUtil)->connectsToEmergencyNumber($number, $regionCode); } /** @@ -152,46 +54,13 @@ private function matchesEmergencyNumberHelper($number, $regionCode, $allowPrefix * This method takes into account cases where the number might contain formatting, but doesn't * allow additional digits to be appended. * - * @param string $number the phone number to test - * @param string $regionCode the region where the phone number is being dialled - * @return boolean if the number exactly matches an emergency services number in the given region + * @param $number String The phone number to test + * @param $regionCode String The region where the phone number is being dialed + * @return boolean if the number exactly matches an emergency services number in the given region. */ public function isEmergencyNumber($number, $regionCode) { - return $this->matchesEmergencyNumberHelper($number, $regionCode, false /* doesn't allow prefix match */); - } - - private function getMetadataForRegion($regionCode) - { - if (!in_array($regionCode, ShortNumbersRegionCodeSet::$shortNumbersRegionCodeSet)) { - return null; - } - - if (!isset($this->regionToMetadataMap[$regionCode])) { - // The regionCode here will be valid and won't be '001', so we don't need to worry about - // what to pass in for the country calling code. - $this->loadMetadataFromFile($this->currentFilePrefix, $regionCode, 0); - } - - return isset($this->regionToMetadataMap[$regionCode]) ? $this->regionToMetadataMap[$regionCode] : null; - } - - private function loadMetadataFromFile($filePrefix, $regionCode, $countryCallingCode) - { - $isNonGeoRegion = PhoneNumberUtil::REGION_CODE_FOR_NON_GEO_ENTITY === $regionCode; - $fileName = $filePrefix . '_' . ($isNonGeoRegion ? $countryCallingCode : $regionCode) . '.php'; - if (!is_readable($fileName)) { - throw new Exception('missing metadata: ' . $fileName); - } else { - $data = include $fileName; - $metadata = new PhoneMetadata(); - $metadata->fromArray($data); - if ($isNonGeoRegion) { - $this->countryCodeToNonGeographicalMetadataMap[$countryCallingCode] = $metadata; - } else { - $this->regionToMetadataMap[$regionCode] = $metadata; - } - } + return ShortNumberInfo::getInstance($this->phoneUtil)->isEmergencyNumber($number, $regionCode); } } diff --git a/src/libphonenumber/ShortNumbersRegionCodeSet.php b/src/libphonenumber/ShortNumbersRegionCodeSet.php index fa6de8cb7..64033ceab 100644 --- a/src/libphonenumber/ShortNumbersRegionCodeSet.php +++ b/src/libphonenumber/ShortNumbersRegionCodeSet.php @@ -10,57 +10,234 @@ class ShortNumbersRegionCodeSet { // A set of all region codes for which data is available. public static $shortNumbersRegionCodeSet = array ( - 0 => 'AM', - 1 => 'AR', - 2 => 'BD', - 3 => 'BR', - 4 => 'CH', - 5 => 'CR', - 6 => 'CU', - 7 => 'CZ', - 8 => 'DE', - 9 => 'EE', - 10 => 'FR', - 11 => 'FJ', - 12 => 'FK', - 13 => 'FO', - 14 => 'GB', - 15 => 'GG', - 16 => 'GI', - 17 => 'GT', - 18 => 'GY', - 19 => 'HT', - 20 => 'IL', - 21 => 'IM', - 22 => 'IT', - 23 => 'JE', - 24 => 'JO', - 25 => 'KE', - 26 => 'KI', - 27 => 'KW', - 28 => 'LI', - 29 => 'LU', - 30 => 'MD', - 31 => 'ME', - 32 => 'MU', - 33 => 'MV', - 34 => 'MZ', - 35 => 'NA', - 36 => 'NC', - 37 => 'NL', - 38 => 'NR', - 39 => 'PA', - 40 => 'PY', - 41 => 'QA', - 42 => 'RS', - 43 => 'SA', - 44 => 'SB', - 45 => 'SC', - 46 => 'SG', - 47 => 'SH', - 48 => 'SR', - 49 => 'TL', - 50 => 'UY', + 0 => 'AC', + 1 => 'AD', + 2 => 'AE', + 3 => 'AF', + 4 => 'AG', + 5 => 'AI', + 6 => 'AL', + 7 => 'AM', + 8 => 'AO', + 9 => 'AR', + 10 => 'AS', + 11 => 'AT', + 12 => 'AU', + 13 => 'AW', + 14 => 'AX', + 15 => 'AZ', + 16 => 'BA', + 17 => 'BB', + 18 => 'BD', + 19 => 'BE', + 20 => 'BF', + 21 => 'BG', + 22 => 'BH', + 23 => 'BI', + 24 => 'BJ', + 25 => 'BL', + 26 => 'BM', + 27 => 'BN', + 28 => 'BO', + 29 => 'BQ', + 30 => 'BR', + 31 => 'BS', + 32 => 'BT', + 33 => 'BW', + 34 => 'BY', + 35 => 'BZ', + 36 => 'CA', + 37 => 'CC', + 38 => 'CH', + 39 => 'CI', + 40 => 'CK', + 41 => 'CL', + 42 => 'CM', + 43 => 'CN', + 44 => 'CO', + 45 => 'CR', + 46 => 'CU', + 47 => 'CV', + 48 => 'CW', + 49 => 'CX', + 50 => 'CY', + 51 => 'CZ', + 52 => 'DE', + 53 => 'DJ', + 54 => 'DK', + 55 => 'DM', + 56 => 'DO', + 57 => 'DZ', + 58 => 'EC', + 59 => 'EE', + 60 => 'EG', + 61 => 'EH', + 62 => 'ES', + 63 => 'ET', + 64 => 'FI', + 65 => 'FJ', + 66 => 'FK', + 67 => 'FM', + 68 => 'FO', + 69 => 'FR', + 70 => 'GA', + 71 => 'GB', + 72 => 'GD', + 73 => 'GE', + 74 => 'GF', + 75 => 'GG', + 76 => 'GH', + 77 => 'GI', + 78 => 'GL', + 79 => 'GM', + 80 => 'GP', + 81 => 'GR', + 82 => 'GT', + 83 => 'GU', + 84 => 'GW', + 85 => 'GY', + 86 => 'HK', + 87 => 'HN', + 88 => 'HR', + 89 => 'HT', + 90 => 'HU', + 91 => 'ID', + 92 => 'IE', + 93 => 'IL', + 94 => 'IM', + 95 => 'IN', + 96 => 'IR', + 97 => 'IS', + 98 => 'IT', + 99 => 'JE', + 100 => 'JM', + 101 => 'JO', + 102 => 'JP', + 103 => 'KE', + 104 => 'KG', + 105 => 'KH', + 106 => 'KI', + 107 => 'KM', + 108 => 'KN', + 109 => 'KR', + 110 => 'KW', + 111 => 'KY', + 112 => 'KZ', + 113 => 'LA', + 114 => 'LB', + 115 => 'LC', + 116 => 'LI', + 117 => 'LK', + 118 => 'LR', + 119 => 'LS', + 120 => 'LT', + 121 => 'LU', + 122 => 'LV', + 123 => 'LY', + 124 => 'MA', + 125 => 'MC', + 126 => 'MD', + 127 => 'ME', + 128 => 'MF', + 129 => 'MG', + 130 => 'MH', + 131 => 'MK', + 132 => 'ML', + 133 => 'MM', + 134 => 'MN', + 135 => 'MO', + 136 => 'MP', + 137 => 'MQ', + 138 => 'MR', + 139 => 'MS', + 140 => 'MT', + 141 => 'MU', + 142 => 'MV', + 143 => 'MW', + 144 => 'MX', + 145 => 'MY', + 146 => 'MZ', + 147 => 'NA', + 148 => 'NC', + 149 => 'NF', + 150 => 'NG', + 151 => 'NI', + 152 => 'NL', + 153 => 'NO', + 154 => 'NP', + 155 => 'NR', + 156 => 'NU', + 157 => 'NZ', + 158 => 'OM', + 159 => 'PA', + 160 => 'PE', + 161 => 'PF', + 162 => 'PG', + 163 => 'PH', + 164 => 'PK', + 165 => 'PL', + 166 => 'PM', + 167 => 'PR', + 168 => 'PT', + 169 => 'PW', + 170 => 'PY', + 171 => 'QA', + 172 => 'RE', + 173 => 'RO', + 174 => 'RS', + 175 => 'RU', + 176 => 'RW', + 177 => 'SA', + 178 => 'SB', + 179 => 'SC', + 180 => 'SD', + 181 => 'SE', + 182 => 'SG', + 183 => 'SH', + 184 => 'SI', + 185 => 'SJ', + 186 => 'SK', + 187 => 'SL', + 188 => 'SM', + 189 => 'SR', + 190 => 'ST', + 191 => 'SV', + 192 => 'SX', + 193 => 'SY', + 194 => 'SZ', + 195 => 'TC', + 196 => 'TD', + 197 => 'TG', + 198 => 'TH', + 199 => 'TJ', + 200 => 'TL', + 201 => 'TM', + 202 => 'TN', + 203 => 'TO', + 204 => 'TR', + 205 => 'TT', + 206 => 'TV', + 207 => 'TW', + 208 => 'TZ', + 209 => 'UA', + 210 => 'UG', + 211 => 'US', + 212 => 'UY', + 213 => 'UZ', + 214 => 'VA', + 215 => 'VC', + 216 => 'VE', + 217 => 'VG', + 218 => 'VI', + 219 => 'VN', + 220 => 'VU', + 221 => 'WF', + 222 => 'WS', + 223 => 'YE', + 224 => 'YT', + 225 => 'ZA', + 226 => 'ZM', + 227 => 'ZW', ); } diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_43.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_43.php index a78162b76..d97dfe712 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_43.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_43.php @@ -156,6 +156,32 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), + 5 => + array ( + 'pattern' => '(\\d{3})(\\d{2})(\\d{2})(\\d{2,3})', + 'format' => '$1 $2 $3 $4', + 'leadingDigitsPatterns' => + array ( + 0 => ' + 316| + 46| + 51| + 732| + 6(?: + 44| + 5[0-3579]| + [6-9] + )| + 7(?: + 1| + [28]0 + )| + [89] + ', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), ), 'intlNumberFormat' => array ( diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_44.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_44.php index 083190bc8..6a757cc23 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_44.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_44.php @@ -113,6 +113,17 @@ 'domesticCarrierCodeFormattingRule' => '', ), 1 => + array ( + 'pattern' => '(\\d{2})(\\d{4})(\\d{2})(\\d{2})', + 'format' => '$1-$2-$3-$4', + 'leadingDigitsPatterns' => + array ( + 0 => '20', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + 2 => array ( 'pattern' => '(\\d{4})(\\d{3})(\\d{3})', 'format' => '$1 $2 $3', @@ -129,7 +140,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 2 => + 3 => array ( 'pattern' => '(\\d{3})(\\d{4})(\\d{3})', 'format' => '$1 $2 $3', @@ -140,7 +151,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 3 => + 4 => array ( 'pattern' => '(80\\d)(\\d{3,4})(\\d{3})', 'format' => '$1 $2 $3', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_49.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_49.php index 88662520a..b6da90ed6 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_49.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_49.php @@ -249,7 +249,7 @@ ), 8 => array ( - 'pattern' => '(\\d{3})(\\d{2})(\\d{2})(\\d)', + 'pattern' => '(\\d{3})(\\d{2})(\\d{2})(\\d{1,2})', 'format' => '$1/$2 $3 $4', 'leadingDigitsPatterns' => array ( @@ -276,6 +276,34 @@ 'domesticCarrierCodeFormattingRule' => '', ), 9 => + array ( + 'pattern' => '(\\d{3})(\\d{2})(\\d{2})(\\d{2})(\\d{2})', + 'format' => '$1/$2 $3 $4 $5', + 'leadingDigitsPatterns' => + array ( + 0 => ' + 2(?: + \\d1| + 0[2389]| + 1[24]| + 28| + 34 + )| + 3(?: + [3-9][15]| + 40 + )| + [4-8][1-9]1| + 9(?: + 06| + [1-9]1 + ) + ', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + 10 => array ( 'pattern' => '(\\d{3})(\\d{3})(\\d{2})(\\d{2})', 'format' => '$1/$2 $3 $4', @@ -303,7 +331,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 10 => + 11 => array ( 'pattern' => '(\\d{3})(\\d{3})(\\d{2})(\\d{2})(\\d)', 'format' => '$1/$2 $3 $4 $5', @@ -331,7 +359,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 11 => + 12 => array ( 'pattern' => '(\\d{3})(\\d{3})(\\d{3})(\\d{2,3})', 'format' => '$1/$2 $3 $4', @@ -359,7 +387,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 12 => + 13 => array ( 'pattern' => '(\\d{4})(\\d{3})(\\d{3,4})', 'format' => '$1/$2 $3', @@ -440,7 +468,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 13 => + 14 => array ( 'pattern' => '(\\d{4})(\\d{4})(\\d{1,4})', 'format' => '$1/$2 $3', @@ -521,7 +549,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 14 => + 15 => array ( 'pattern' => '(\\d{4})(\\d{3})(\\d{3})(\\d{3})', 'format' => '$1/$2 $3 $4', @@ -602,7 +630,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 15 => + 16 => array ( 'pattern' => '(\\d{4})(\\d{2})(\\d{3})(\\d{2})', 'format' => '$1/$2 $3 $4', @@ -683,7 +711,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 16 => + 17 => array ( 'pattern' => '(\\d{4})(\\d{3})(\\d{2})(\\d{2})', 'format' => '$1/$2 $3 $4', @@ -764,7 +792,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 17 => + 18 => array ( 'pattern' => '(\\d{4})(\\d{2})(\\d{2})(\\d{2,3})', 'format' => '$1/$2 $3 $4', @@ -845,7 +873,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 18 => + 19 => array ( 'pattern' => '(\\d{5})(\\d{3})(\\d{3,4})', 'format' => '$1/$2 $3', @@ -856,7 +884,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 19 => + 20 => array ( 'pattern' => '(\\d{5})(\\d{4})(\\d{3,4})', 'format' => '$1/$2 $3', @@ -867,7 +895,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 20 => + 21 => array ( 'pattern' => '(\\d{5})(\\d{3})(\\d{3})(\\d{3})', 'format' => '$1/$2 $3 $4', @@ -878,7 +906,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 21 => + 22 => array ( 'pattern' => '(1\\d{3})(\\d{2})(\\d{3})(\\d{2})', 'format' => '$1 $2 $3 $4', @@ -889,7 +917,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 22 => + 23 => array ( 'pattern' => '(1\\d{3})(\\d{3})(\\d{4})', 'format' => '$1 $2 $3', @@ -900,7 +928,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 23 => + 24 => array ( 'pattern' => '(1\\d{3})(\\d{4})(\\d{3})', 'format' => '$1 $2 $3', @@ -911,7 +939,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 24 => + 25 => array ( 'pattern' => '(1\\d{2})(\\d{8})', 'format' => '$1 $2', @@ -922,7 +950,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 25 => + 26 => array ( 'pattern' => '([18]\\d{2})(\\d{2,3})(\\d{3})(\\d{2})', 'format' => '$1 $2 $3 $4', @@ -936,7 +964,21 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 26 => + 27 => + array ( + 'pattern' => '([18]\\d{2})(\\d{3})(\\d{3})(\\d)', + 'format' => '$1 $2 $3 $4', + 'leadingDigitsPatterns' => + array ( + 0 => ' + 1[5-7]| + 800 + ', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + 28 => array ( 'pattern' => '(8\\d{2})(\\d{6})(\\d{2})(\\d{1,4})', 'format' => '$1 $2 $3 $4', @@ -947,7 +989,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 27 => + 29 => array ( 'pattern' => '(\\d{3})(\\d)(\\d{3})(\\d{3,4})', 'format' => '$1 $2 $3 $4', @@ -961,7 +1003,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 28 => + 30 => array ( 'pattern' => '(\\d{3})(\\d)(\\d{4})(\\d{3,4})', 'format' => '$1 $2 $3 $4', @@ -975,7 +1017,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 29 => + 31 => array ( 'pattern' => '(\\d{4})(\\d{4,10})', 'format' => '$1 $2', @@ -989,7 +1031,7 @@ 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', ), - 30 => + 32 => array ( 'pattern' => '(\\d{3})(\\d{3})(\\d{4})(\\d{2})', 'format' => '$1 $2 $3 $4', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AC.php b/src/libphonenumber/data/PhoneNumberMetadata_AC.php index 89476ab95..91fdf8c0a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AC.php @@ -73,9 +73,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AD.php b/src/libphonenumber/data/PhoneNumberMetadata_AD.php index e76f2c286..e6c683d6a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AD.php @@ -72,9 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[0268]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AE.php b/src/libphonenumber/data/PhoneNumberMetadata_AE.php index a595cd395..3793bc0f6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AE.php @@ -73,12 +73,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 99[789] - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AF.php b/src/libphonenumber/data/PhoneNumberMetadata_AF.php index 96a3ebe57..9fd2d308b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AF.php @@ -73,14 +73,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 02| - 19 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '119', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AG.php b/src/libphonenumber/data/PhoneNumberMetadata_AG.php index d8df25e99..e1abcffa0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AG.php @@ -99,14 +99,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AI.php b/src/libphonenumber/data/PhoneNumberMetadata_AI.php index c0de92838..518d3cf89 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AI.php @@ -99,9 +99,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AL.php b/src/libphonenumber/data/PhoneNumberMetadata_AL.php index e3fa078f3..782e97f70 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AL.php @@ -98,9 +98,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '12[789]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '129', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AM.php b/src/libphonenumber/data/PhoneNumberMetadata_AM.php index 9fc680e86..a304763af 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AM.php @@ -87,9 +87,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '10[123]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '102', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AO.php b/src/libphonenumber/data/PhoneNumberMetadata_AO.php index 3b0432a29..33c82b279 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AO.php @@ -72,9 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[235]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '113', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AR.php b/src/libphonenumber/data/PhoneNumberMetadata_AR.php index f7d4cdd49..566662306 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AR.php @@ -174,14 +174,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[017]| - 28 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '101', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -452,6 +447,31 @@ 'nationalPrefixFormattingRule' => '0$1', 'domesticCarrierCodeFormattingRule' => '', ), + 9 => + array ( + 'pattern' => '(\\d{3})', + 'format' => '$1', + 'leadingDigitsPatterns' => + array ( + 0 => ' + 1[012]| + 911 + ', + ), + 'nationalPrefixFormattingRule' => '$1', + 'domesticCarrierCodeFormattingRule' => '', + ), + 10 => + array ( + 'pattern' => '(\\d{2})', + 'format' => '$1', + 'leadingDigitsPatterns' => + array ( + 0 => '0', + ), + 'nationalPrefixFormattingRule' => '0$1', + 'domesticCarrierCodeFormattingRule' => '', + ), ), 'intlNumberFormat' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AS.php b/src/libphonenumber/data/PhoneNumberMetadata_AS.php index 17dfcef0a..67a4d9877 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AS.php @@ -96,9 +96,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AT.php b/src/libphonenumber/data/PhoneNumberMetadata_AT.php index 05fc53a5a..47b3b9623 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AT.php @@ -148,15 +148,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - [12]2| - 33| - 44 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -283,7 +277,7 @@ 2[1-8]| 35| 4[1-8]| - [57-9] + [5-79] ) ', ), diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AU.php b/src/libphonenumber/data/PhoneNumberMetadata_AU.php index 19e4c108e..dbf60fb31 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AU.php @@ -109,12 +109,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 000| - 112 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AW.php b/src/libphonenumber/data/PhoneNumberMetadata_AW.php index 9e21e8b69..427a07bd4 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AW.php @@ -93,12 +93,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 100| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AX.php b/src/libphonenumber/data/PhoneNumberMetadata_AX.php index 52313c13a..dc76e8b7e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AX.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AX.php @@ -94,9 +94,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AZ.php b/src/libphonenumber/data/PhoneNumberMetadata_AZ.php index 60e1f7a7f..57c6a787a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AZ.php @@ -87,14 +87,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[123]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '101', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BA.php b/src/libphonenumber/data/PhoneNumberMetadata_BA.php index 75ef89d84..1de965b4f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BA.php @@ -79,9 +79,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '12[234]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '122', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BB.php b/src/libphonenumber/data/PhoneNumberMetadata_BB.php index a50bf4a17..c95134ccc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BB.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BB.php @@ -90,9 +90,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '[235]11', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '211', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BD.php b/src/libphonenumber/data/PhoneNumberMetadata_BD.php index b67f32ee8..a4c56975b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BD.php @@ -362,12 +362,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 10[0-2]| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BE.php b/src/libphonenumber/data/PhoneNumberMetadata_BE.php index e867e404c..2fb833f72 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BE.php @@ -90,14 +90,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[01]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BF.php b/src/libphonenumber/data/PhoneNumberMetadata_BF.php index 88fd79208..d25a0a1c5 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BF.php @@ -38,7 +38,7 @@ [0-256]\\d| 8[0-5]| 3[0-3]| - 4[0-4] + 4[0-7] )\\d{5}| 7\\d{7} ', @@ -89,9 +89,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[78]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '17', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BG.php b/src/libphonenumber/data/PhoneNumberMetadata_BG.php index 8904c97a5..c50e64116 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BG.php @@ -100,15 +100,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 50| - 6[06] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BH.php b/src/libphonenumber/data/PhoneNumberMetadata_BH.php index ccaa9500b..58b79ca3a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BH.php @@ -125,9 +125,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BI.php b/src/libphonenumber/data/PhoneNumberMetadata_BI.php index 216ef4228..d144b6f27 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BI.php @@ -77,9 +77,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[78]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '117', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BJ.php b/src/libphonenumber/data/PhoneNumberMetadata_BJ.php index b3b7fc3df..cfed73f7e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BJ.php @@ -82,9 +82,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[78]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '117', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BL.php b/src/libphonenumber/data/PhoneNumberMetadata_BL.php index 9e9b4e4ae..a0976a453 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BL.php @@ -78,9 +78,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '18', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '18', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BM.php b/src/libphonenumber/data/PhoneNumberMetadata_BM.php index 9ea433e3f..7952eaacc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BM.php @@ -102,9 +102,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BN.php b/src/libphonenumber/data/PhoneNumberMetadata_BN.php index 70f31ca59..67fb91d13 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BN.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '99[135]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '991', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BO.php b/src/libphonenumber/data/PhoneNumberMetadata_BO.php index d18a66702..df18129f0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BO.php @@ -86,9 +86,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[089]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '110', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BQ.php b/src/libphonenumber/data/PhoneNumberMetadata_BQ.php index dbf7e97c1..dccacae47 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BQ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BQ.php @@ -85,12 +85,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BR.php b/src/libphonenumber/data/PhoneNumberMetadata_BR.php index a8a06e0ca..10a0b7fe2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BR.php @@ -101,16 +101,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 28| - 9[023] - )| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '190', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BS.php b/src/libphonenumber/data/PhoneNumberMetadata_BS.php index 777c2ba8e..6a0a4affe 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BS.php @@ -127,9 +127,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '91[19]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BT.php b/src/libphonenumber/data/PhoneNumberMetadata_BT.php index eff62a62e..5a47780ff 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BT.php @@ -76,9 +76,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[023]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '113', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BW.php b/src/libphonenumber/data/PhoneNumberMetadata_BW.php index 40317ecc8..494586b0c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BW.php @@ -105,9 +105,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '99[789]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BY.php b/src/libphonenumber/data/PhoneNumberMetadata_BY.php index 85cf5ae0b..cf63bff13 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BY.php @@ -122,14 +122,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[123]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BZ.php b/src/libphonenumber/data/PhoneNumberMetadata_BZ.php index b119193b3..537456db2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BZ.php @@ -70,14 +70,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 0| - 11 - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CA.php b/src/libphonenumber/data/PhoneNumberMetadata_CA.php index 7c1f387e4..ed8201d3d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CA.php @@ -172,12 +172,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CC.php b/src/libphonenumber/data/PhoneNumberMetadata_CC.php index 3e6a0ded3..c3edae2aa 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CC.php @@ -86,12 +86,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 000| - 112 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CH.php b/src/libphonenumber/data/PhoneNumberMetadata_CH.php index 980775220..8498b8b21 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CH.php @@ -79,14 +79,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1[278]| - 44 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CI.php b/src/libphonenumber/data/PhoneNumberMetadata_CI.php index fff1709fd..04306e736 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CI.php @@ -90,14 +90,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1[01]| - [78]0 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '110', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CK.php b/src/libphonenumber/data/PhoneNumberMetadata_CK.php index 2a12bb83f..8e40a1512 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CK.php @@ -78,9 +78,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '99[689]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '998', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CL.php b/src/libphonenumber/data/PhoneNumberMetadata_CL.php index cdd6f5025..7dd8be68a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CL.php @@ -89,9 +89,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '13[123]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '133', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -209,9 +209,90 @@ 'nationalPrefixFormattingRule' => '$1', 'domesticCarrierCodeFormattingRule' => '', ), + 7 => + array ( + 'pattern' => '(\\d{4,5})', + 'format' => '$1', + 'leadingDigitsPatterns' => + array ( + 0 => '[1-9]', + ), + 'nationalPrefixFormattingRule' => '$1', + 'domesticCarrierCodeFormattingRule' => '', + ), ), 'intlNumberFormat' => array ( + 0 => + array ( + 'pattern' => '(2)(\\d{3,4})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => '2', + ), + ), + 1 => + array ( + 'pattern' => '(\\d{2})(\\d{2,3})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => ' + [357]| + 4[1-35]| + 6[13-57] + ', + ), + ), + 2 => + array ( + 'pattern' => '(9)([5-9]\\d{3})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => '9', + ), + ), + 3 => + array ( + 'pattern' => '(44)(\\d{3})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => '44', + ), + ), + 4 => + array ( + 'pattern' => '([68]00)(\\d{3})(\\d{3,4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => ' + 60| + 8 + ', + ), + ), + 5 => + array ( + 'pattern' => '(600)(\\d{3})(\\d{2})(\\d{3})', + 'format' => '$1 $2 $3 $4', + 'leadingDigitsPatterns' => + array ( + 0 => '60', + ), + ), + 6 => + array ( + 'pattern' => '(1230)(\\d{3})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => '1', + ), + ), ), 'mainCountryForCode' => NULL, 'leadingZeroPossible' => NULL, diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CM.php b/src/libphonenumber/data/PhoneNumberMetadata_CM.php index bf113fa28..6f4df407d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CM.php @@ -72,9 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1?1[37]', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '113', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CN.php b/src/libphonenumber/data/PhoneNumberMetadata_CN.php index c6374f365..91a103583 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CN.php @@ -193,14 +193,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1[09]| - 20 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '119', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CO.php b/src/libphonenumber/data/PhoneNumberMetadata_CO.php index a39644fd2..df6ac90bf 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CO.php @@ -83,16 +83,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1[29]| - 23| - 32| - 56 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CR.php b/src/libphonenumber/data/PhoneNumberMetadata_CR.php index 90b3b6b3a..5700ccdee 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CR.php @@ -95,12 +95,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CU.php b/src/libphonenumber/data/PhoneNumberMetadata_CU.php index c81aeb4d3..fd287d0e6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CU.php @@ -79,9 +79,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '10[456]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '106', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CV.php b/src/libphonenumber/data/PhoneNumberMetadata_CV.php index db649dd07..ffd5e9772 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CV.php @@ -82,9 +82,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '13[012]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '132', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CW.php b/src/libphonenumber/data/PhoneNumberMetadata_CW.php index 4bcb41293..42efffa85 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CW.php @@ -94,12 +94,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CX.php b/src/libphonenumber/data/PhoneNumberMetadata_CX.php index 75246072b..b51c879fe 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CX.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CX.php @@ -86,12 +86,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 000| - 112 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CY.php b/src/libphonenumber/data/PhoneNumberMetadata_CY.php index d1d5fcf04..182a2f2f7 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CY.php @@ -72,14 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CZ.php b/src/libphonenumber/data/PhoneNumberMetadata_CZ.php index 1d1646d59..79bcfd730 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CZ.php @@ -95,14 +95,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 5[058] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DE.php b/src/libphonenumber/data/PhoneNumberMetadata_DE.php index 0e1495d4a..99709fa4a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DE.php @@ -131,9 +131,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[02]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DJ.php b/src/libphonenumber/data/PhoneNumberMetadata_DJ.php index effec38df..291ec8644 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DJ.php @@ -72,9 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[78]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '17', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DK.php b/src/libphonenumber/data/PhoneNumberMetadata_DK.php index 05457d4b4..c6630a93a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DK.php @@ -79,9 +79,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DM.php b/src/libphonenumber/data/PhoneNumberMetadata_DM.php index ad8f3c480..bfff3b0ce 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DM.php @@ -102,15 +102,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 333| - 9(?: - 11| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DO.php b/src/libphonenumber/data/PhoneNumberMetadata_DO.php index 419a5311d..d4f7e0ede 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DO.php @@ -131,12 +131,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DZ.php b/src/libphonenumber/data/PhoneNumberMetadata_DZ.php index 757f20497..18e13fa46 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DZ.php @@ -89,9 +89,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[47]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '17', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_EC.php b/src/libphonenumber/data/PhoneNumberMetadata_EC.php index e946ab310..ec2096a4a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_EC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_EC.php @@ -78,15 +78,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[12]| - 12 - )| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_EE.php b/src/libphonenumber/data/PhoneNumberMetadata_EE.php index c6d153ef8..c77b1d233 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_EE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_EE.php @@ -114,9 +114,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[02]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_EG.php b/src/libphonenumber/data/PhoneNumberMetadata_EG.php index c2e482ee9..e14c5076c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_EG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_EG.php @@ -59,8 +59,8 @@ array ( 'NationalNumberPattern' => ' 1(?: - 0[01269]| - 1[1245]| + 0[0-269]| + 1[0-245]| 2[0-278] )\\d{7} ', @@ -111,14 +111,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 2[23]| - 80 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '122', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_EH.php b/src/libphonenumber/data/PhoneNumberMetadata_EH.php index 0ba623ea5..1824d4aca 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_EH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_EH.php @@ -75,14 +75,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - [59]| - 77 - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '15', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ES.php b/src/libphonenumber/data/PhoneNumberMetadata_ES.php index 6330bcb24..184905c6b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ES.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ES.php @@ -113,15 +113,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 0(?: - [69][12]| - 8[05] - )| - 112 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -159,6 +153,10 @@ 'format' => '$1 $2 $3 $4', 'leadingDigitsPatterns' => array ( + 0 => ' + [568]| + [79][0-8] + ', ), 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ET.php b/src/libphonenumber/data/PhoneNumberMetadata_ET.php index 3990a897b..53e535f4b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ET.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ET.php @@ -187,15 +187,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11?| - [23]| - 9[17] - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '991', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FI.php b/src/libphonenumber/data/PhoneNumberMetadata_FI.php index db547742c..c83c736e5 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FI.php @@ -102,9 +102,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FJ.php b/src/libphonenumber/data/PhoneNumberMetadata_FJ.php index 81a8d1971..1f8f3c9f2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FJ.php @@ -82,9 +82,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '91[17]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FK.php b/src/libphonenumber/data/PhoneNumberMetadata_FK.php index 4af7a3ea7..f6638220c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FK.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FM.php b/src/libphonenumber/data/PhoneNumberMetadata_FM.php index 6283746cf..e68bece5c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FM.php @@ -73,12 +73,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 911| - 320221 - ', - 'PossibleNumberPattern' => '\\d{3}(?:\\d{3})?', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FO.php b/src/libphonenumber/data/PhoneNumberMetadata_FO.php index 90dbd7358..4fc4d58eb 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FO.php @@ -90,9 +90,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FR.php b/src/libphonenumber/data/PhoneNumberMetadata_FR.php index 17e81e140..7a37baafe 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FR.php @@ -83,14 +83,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - [578]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GA.php b/src/libphonenumber/data/PhoneNumberMetadata_GA.php index 6cf326b4d..679ea24a2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GA.php @@ -67,13 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1730| - 18| - 13\\d{2} - ', - 'PossibleNumberPattern' => '\\d{2,4}', - 'ExampleNumber' => '1730', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GB.php b/src/libphonenumber/data/PhoneNumberMetadata_GB.php index 4a171aabb..71d8ea176 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GB.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GB.php @@ -366,12 +366,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GD.php b/src/libphonenumber/data/PhoneNumberMetadata_GD.php index 9f52f05e0..de93b484b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GD.php @@ -117,9 +117,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GE.php b/src/libphonenumber/data/PhoneNumberMetadata_GE.php index 8c9a5986c..09bbc7342 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GE.php @@ -91,19 +91,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 0(?: - 11| - 22| - 33 - )| - 1(?: - 1[123]| - 22 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GF.php b/src/libphonenumber/data/PhoneNumberMetadata_GF.php index dd6a101f5..39b97ce46 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GF.php @@ -84,9 +84,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[578]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '15', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GG.php b/src/libphonenumber/data/PhoneNumberMetadata_GG.php index 9eac15f46..1429d095e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GG.php @@ -114,12 +114,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GH.php b/src/libphonenumber/data/PhoneNumberMetadata_GH.php index 6fa88a2c3..3debc4c92 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GH.php @@ -108,12 +108,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 19[123]| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GI.php b/src/libphonenumber/data/PhoneNumberMetadata_GI.php index 566a36820..3c62d25a0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GI.php @@ -78,14 +78,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 9[09] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GL.php b/src/libphonenumber/data/PhoneNumberMetadata_GL.php index 1c8409f87..a7dfce8c9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GL.php @@ -75,9 +75,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GM.php b/src/libphonenumber/data/PhoneNumberMetadata_GM.php index 20bacd7ae..efce7ca42 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GM.php @@ -95,9 +95,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1?1[678]', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '117', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GP.php b/src/libphonenumber/data/PhoneNumberMetadata_GP.php index 06f458baf..6be2810da 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GP.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GP.php @@ -85,9 +85,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[578]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '18', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GR.php b/src/libphonenumber/data/PhoneNumberMetadata_GR.php index 67f539c76..de2e2c7fb 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GR.php @@ -132,16 +132,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 00| - 12| - 66| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GT.php b/src/libphonenumber/data/PhoneNumberMetadata_GT.php index d2ac5f81b..80dd84504 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GT.php @@ -70,14 +70,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 10| - 2[03] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '110', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GU.php b/src/libphonenumber/data/PhoneNumberMetadata_GU.php index 432e3db1c..1c8cf01f8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GU.php @@ -169,9 +169,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GW.php b/src/libphonenumber/data/PhoneNumberMetadata_GW.php index 6de2426df..102974003 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GW.php @@ -81,9 +81,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[378]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '113', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GY.php b/src/libphonenumber/data/PhoneNumberMetadata_GY.php index 41f29f6a6..d6d59b37a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GY.php @@ -92,9 +92,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '91[123]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HK.php b/src/libphonenumber/data/PhoneNumberMetadata_HK.php index 0932f9482..e0f6e2477 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HK.php @@ -90,12 +90,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 99[29] - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HN.php b/src/libphonenumber/data/PhoneNumberMetadata_HN.php index 612c31f85..6e0576ac7 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HN.php @@ -108,9 +108,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '199', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '199', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HR.php b/src/libphonenumber/data/PhoneNumberMetadata_HR.php index f44984593..9cbef34a1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HR.php @@ -83,15 +83,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 92 - )| - 9[34] - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HT.php b/src/libphonenumber/data/PhoneNumberMetadata_HT.php index a79d139cc..9342ca029 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HT.php @@ -78,9 +78,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[48]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '118', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HU.php b/src/libphonenumber/data/PhoneNumberMetadata_HU.php index ab98108d3..f2b2d8681 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HU.php @@ -90,14 +90,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[457]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ID.php b/src/libphonenumber/data/PhoneNumberMetadata_ID.php index dc0c87c13..3a9aeb746 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ID.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ID.php @@ -214,9 +214,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[02389]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IE.php b/src/libphonenumber/data/PhoneNumberMetadata_IE.php index 12391d7f2..a10da4d6b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IE.php @@ -109,12 +109,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IL.php b/src/libphonenumber/data/PhoneNumberMetadata_IL.php index 8fc6d88e5..adb5c87f2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IL.php @@ -121,14 +121,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[012]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IM.php b/src/libphonenumber/data/PhoneNumberMetadata_IM.php index 018483fbf..c2329be52 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IM.php @@ -94,9 +94,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IN.php b/src/libphonenumber/data/PhoneNumberMetadata_IN.php index 5bb740486..2230ed669 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IN.php @@ -331,16 +331,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[0128]| - 12| - 298 - )| - 2611 - ', - 'PossibleNumberPattern' => '\\d{3,4}', - 'ExampleNumber' => '108', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IR.php b/src/libphonenumber/data/PhoneNumberMetadata_IR.php index 99f4c2212..28f830de1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IR.php @@ -166,14 +166,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1[025]| - 25 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IS.php b/src/libphonenumber/data/PhoneNumberMetadata_IS.php index 76f1f6f56..c2ebd078a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IS.php @@ -114,9 +114,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IT.php b/src/libphonenumber/data/PhoneNumberMetadata_IT.php index b253330fb..75f869f54 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IT.php @@ -173,9 +173,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[2358]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_JE.php b/src/libphonenumber/data/PhoneNumberMetadata_JE.php index 4ebe619a8..aa2330e2a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_JE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_JE.php @@ -156,12 +156,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_JM.php b/src/libphonenumber/data/PhoneNumberMetadata_JM.php index cf0fae3ba..ae9547592 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_JM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_JM.php @@ -134,9 +134,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[09]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '119', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_JO.php b/src/libphonenumber/data/PhoneNumberMetadata_JO.php index 641bf1af8..22920ccdb 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_JO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_JO.php @@ -152,15 +152,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 91 - )| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_JP.php b/src/libphonenumber/data/PhoneNumberMetadata_JP.php index f397b094b..0d81cd856 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_JP.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_JP.php @@ -133,9 +133,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[09]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '110', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KE.php b/src/libphonenumber/data/PhoneNumberMetadata_KE.php index 8d6fec67d..d65477e8d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KE.php @@ -93,12 +93,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KG.php b/src/libphonenumber/data/PhoneNumberMetadata_KG.php index 86170a3a1..f51aa0bcb 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KG.php @@ -124,9 +124,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '10[123]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '101', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KH.php b/src/libphonenumber/data/PhoneNumberMetadata_KH.php index 48e421fbc..3a659db00 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KH.php @@ -112,12 +112,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 11[789]| - 666 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '117', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KI.php b/src/libphonenumber/data/PhoneNumberMetadata_KI.php index 5653b6666..b60d1fe70 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KI.php @@ -79,9 +79,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '99[2349]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KM.php b/src/libphonenumber/data/PhoneNumberMetadata_KM.php index 048acdf51..a624a1026 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KM.php @@ -77,9 +77,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[78]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '17', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KN.php b/src/libphonenumber/data/PhoneNumberMetadata_KN.php index ac44775ea..52368233d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KN.php @@ -102,15 +102,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 333| - 9(?: - 11| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KR.php b/src/libphonenumber/data/PhoneNumberMetadata_KR.php index 8f27c4456..3a32d8b78 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KR.php @@ -97,9 +97,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[29]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KW.php b/src/libphonenumber/data/PhoneNumberMetadata_KW.php index 8245e853f..4a5bc53fc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KW.php @@ -105,9 +105,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KY.php b/src/libphonenumber/data/PhoneNumberMetadata_KY.php index 375c43e79..d12d65deb 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KY.php @@ -127,9 +127,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KZ.php b/src/libphonenumber/data/PhoneNumberMetadata_KZ.php index 11eefbbb5..165fc5869 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KZ.php @@ -180,14 +180,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[123]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LA.php b/src/libphonenumber/data/PhoneNumberMetadata_LA.php index 7e9af77e3..77d18738b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LA.php @@ -81,9 +81,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '19[015]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '190', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LB.php b/src/libphonenumber/data/PhoneNumberMetadata_LB.php index b161296c5..b7750c50e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LB.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LB.php @@ -87,16 +87,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 40| - 75 - )| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LC.php b/src/libphonenumber/data/PhoneNumberMetadata_LC.php index 118be2e47..908b0b73a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LC.php @@ -112,14 +112,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LI.php b/src/libphonenumber/data/PhoneNumberMetadata_LI.php index a953592cd..940d71ddb 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LI.php @@ -129,14 +129,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1[278]| - 44 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LK.php b/src/libphonenumber/data/PhoneNumberMetadata_LK.php index 70812df64..87d76bd0f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LK.php @@ -76,9 +76,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[0189]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '119', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LR.php b/src/libphonenumber/data/PhoneNumberMetadata_LR.php index 519477f28..1d2bb2a0f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LR.php @@ -82,12 +82,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 355| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LS.php b/src/libphonenumber/data/PhoneNumberMetadata_LS.php index fda587972..c23219522 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LS.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[257]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LT.php b/src/libphonenumber/data/PhoneNumberMetadata_LT.php index 9c3bb1720..94b4a00a9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LT.php @@ -78,19 +78,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 0(?: - 11?| - 22?| - 33? - )| - 1(?: - 0[123]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LU.php b/src/libphonenumber/data/PhoneNumberMetadata_LU.php index 69e7767b3..e04a11185 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LU.php @@ -129,9 +129,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[23]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LV.php b/src/libphonenumber/data/PhoneNumberMetadata_LV.php index fbb53d337..704bfa0f9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LV.php @@ -67,12 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 0[123]| - 112 - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LY.php b/src/libphonenumber/data/PhoneNumberMetadata_LY.php index d02b30a07..9a05552f9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LY.php @@ -74,9 +74,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '19[013]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '193', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MA.php b/src/libphonenumber/data/PhoneNumberMetadata_MA.php index 5870b1620..b1b3a2852 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MA.php @@ -103,14 +103,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - [59]| - 77 - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '15', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MC.php b/src/libphonenumber/data/PhoneNumberMetadata_MC.php index 0ee781dca..1965db7c2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MC.php @@ -75,14 +75,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - [578] - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MD.php b/src/libphonenumber/data/PhoneNumberMetadata_MD.php index 5e270014f..767465f5d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MD.php @@ -103,12 +103,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 90[123] - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ME.php b/src/libphonenumber/data/PhoneNumberMetadata_ME.php index a3ab6872a..b7e394b51 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ME.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ME.php @@ -106,14 +106,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 2[234] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MF.php b/src/libphonenumber/data/PhoneNumberMetadata_MF.php index 2a68f5949..ddd379dd6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MF.php @@ -79,9 +79,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[578]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '18', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MG.php b/src/libphonenumber/data/PhoneNumberMetadata_MG.php index dc92ec77d..8ee1cff07 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MG.php @@ -85,9 +85,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11?[78]', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '117', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MK.php b/src/libphonenumber/data/PhoneNumberMetadata_MK.php index 225f5e31b..4e1535826 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MK.php @@ -97,14 +97,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 9[234] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ML.php b/src/libphonenumber/data/PhoneNumberMetadata_ML.php index 0fd07a8a5..a1636fee2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ML.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ML.php @@ -7,7 +7,7 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '[246-8]\\d{7}', + 'NationalNumberPattern' => '[246-9]\\d{7}', 'PossibleNumberPattern' => '\\d{8}', 'ExampleNumber' => '', ), @@ -18,11 +18,12 @@ 2(?: 0(?: 2[0-589]| - 7[027-9] + 7\\d )| 1(?: 2[5-7]| - [3-689]\\d + [3-689]\\d| + 7[2-4689] ) )| 44[239]\\d @@ -33,7 +34,10 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '[67]\\d{7}', + 'NationalNumberPattern' => ' + [67]\\d{7}| + 9[0-25-9]\\d{6} + ', 'PossibleNumberPattern' => '\\d{8}', 'ExampleNumber' => '65012345', ), @@ -81,9 +85,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[578]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '17', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -117,10 +121,25 @@ array ( 0 => array ( - 'pattern' => '([246-8]\\d)(\\d{2})(\\d{2})(\\d{2})', + 'pattern' => '(\\d{2})(\\d{2})(\\d{2})(\\d{2})', 'format' => '$1 $2 $3 $4', 'leadingDigitsPatterns' => array ( + 0 => '[246-9]', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + 1 => + array ( + 'pattern' => '(\\d{4})', + 'format' => '$1', + 'leadingDigitsPatterns' => + array ( + 0 => ' + 67| + 74 + ', ), 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', @@ -128,6 +147,15 @@ ), 'intlNumberFormat' => array ( + 0 => + array ( + 'pattern' => '(\\d{2})(\\d{2})(\\d{2})(\\d{2})', + 'format' => '$1 $2 $3 $4', + 'leadingDigitsPatterns' => + array ( + 0 => '[246-9]', + ), + ), ), 'mainCountryForCode' => NULL, 'leadingZeroPossible' => NULL, diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MM.php b/src/libphonenumber/data/PhoneNumberMetadata_MM.php index 5da5efd28..1553d3e2b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MM.php @@ -169,9 +169,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '199', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '199', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MN.php b/src/libphonenumber/data/PhoneNumberMetadata_MN.php index d09d0fb8a..74c644cbc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MN.php @@ -87,9 +87,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '10[0-3]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '102', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MO.php b/src/libphonenumber/data/PhoneNumberMetadata_MO.php index 43a8664b5..0e39cecb8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MO.php @@ -72,9 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MP.php b/src/libphonenumber/data/PhoneNumberMetadata_MP.php index 7ab351871..20658dced 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MP.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MP.php @@ -133,9 +133,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MQ.php b/src/libphonenumber/data/PhoneNumberMetadata_MQ.php index 95197d55d..50eb4bf1d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MQ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MQ.php @@ -83,14 +83,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - [578] - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '15', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MR.php b/src/libphonenumber/data/PhoneNumberMetadata_MR.php index bb3f027db..4c1628ade 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MR.php @@ -88,9 +88,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[78]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '17', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MS.php b/src/libphonenumber/data/PhoneNumberMetadata_MS.php index 3a0580564..e4c628b1d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MS.php @@ -81,14 +81,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MT.php b/src/libphonenumber/data/PhoneNumberMetadata_MT.php index f936674b2..7140aa0e1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MT.php @@ -108,9 +108,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MU.php b/src/libphonenumber/data/PhoneNumberMetadata_MU.php index 82ff9e7e1..400530da4 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MU.php @@ -110,12 +110,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 11[45]| - 99[59] - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MV.php b/src/libphonenumber/data/PhoneNumberMetadata_MV.php index 3152fa368..58df24f6a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MV.php @@ -91,14 +91,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 02| - 19 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '102', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MW.php b/src/libphonenumber/data/PhoneNumberMetadata_MW.php index 2c3883f83..84e8b5736 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MW.php @@ -86,12 +86,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 199| - 99[789] - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '997', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MX.php b/src/libphonenumber/data/PhoneNumberMetadata_MX.php index faa7995fd..b04d3a71a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MX.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MX.php @@ -201,12 +201,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 06[568]| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '066', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -374,6 +371,6 @@ ), ), 'mainCountryForCode' => NULL, - 'leadingZeroPossible' => NULL, + 'leadingZeroPossible' => true, ); /* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MY.php b/src/libphonenumber/data/PhoneNumberMetadata_MY.php index f2be13cb2..b25c6ee61 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MY.php @@ -82,12 +82,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MZ.php b/src/libphonenumber/data/PhoneNumberMetadata_MZ.php index 9c7d2e67a..5923f9e13 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MZ.php @@ -74,14 +74,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1[79]| - 9[78] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '119', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NA.php b/src/libphonenumber/data/PhoneNumberMetadata_NA.php index 0e69d4db8..3ac4a5438 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NA.php @@ -166,9 +166,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '10111', - 'PossibleNumberPattern' => '\\d{5}', - 'ExampleNumber' => '10111', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NC.php b/src/libphonenumber/data/PhoneNumberMetadata_NC.php index dff0b0628..a05f2bd52 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NC.php @@ -7,7 +7,7 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '[2-47-9]\\d{5}', + 'NationalNumberPattern' => '[2-57-9]\\d{5}', 'PossibleNumberPattern' => '\\d{6}', 'ExampleNumber' => '', ), @@ -28,6 +28,7 @@ array ( 'NationalNumberPattern' => ' (?: + 5[0-4]| [79]\\d| 8[0-79] )\\d{4} @@ -79,9 +80,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[5-8]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '15', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -119,6 +120,10 @@ 'format' => '$1.$2.$3', 'leadingDigitsPatterns' => array ( + 0 => ' + [2-46-9]| + 5[0-4] + ', ), 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NF.php b/src/libphonenumber/data/PhoneNumberMetadata_NF.php index 7cea63dce..959c4f7ca 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NF.php @@ -77,15 +77,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11| - 55| - 77 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NG.php b/src/libphonenumber/data/PhoneNumberMetadata_NG.php index 44bfb68fe..ec73c7856 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NG.php @@ -174,9 +174,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '199', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '199', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NI.php b/src/libphonenumber/data/PhoneNumberMetadata_NI.php index 828655eb8..b550bb979 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NI.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '118', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '118', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NL.php b/src/libphonenumber/data/PhoneNumberMetadata_NL.php index 544a3c7dd..2faba0599 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NL.php @@ -46,7 +46,7 @@ array ( 'NationalNumberPattern' => '90[069]\\d{4,7}', 'PossibleNumberPattern' => '\\d{7,10}', - 'ExampleNumber' => '9001234', + 'ExampleNumber' => '9061234', ), 'sharedCost' => array ( @@ -105,12 +105,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NO.php b/src/libphonenumber/data/PhoneNumberMetadata_NO.php index 7913dd1f2..8174cbce7 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NO.php @@ -98,9 +98,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[023]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NP.php b/src/libphonenumber/data/PhoneNumberMetadata_NP.php index a1e452008..abcea53e2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NP.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NP.php @@ -91,14 +91,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[0-3]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NR.php b/src/libphonenumber/data/PhoneNumberMetadata_NR.php index 90397f89c..ebecb9494 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NR.php @@ -72,9 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[0-2]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '110', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NU.php b/src/libphonenumber/data/PhoneNumberMetadata_NU.php index e5c2866b3..53fe440f2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NU.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NZ.php b/src/libphonenumber/data/PhoneNumberMetadata_NZ.php index 93f241b3a..6eba39049 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NZ.php @@ -91,9 +91,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '111', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '111', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_OM.php b/src/libphonenumber/data/PhoneNumberMetadata_OM.php index e7d58f38c..62daafac9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_OM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_OM.php @@ -77,9 +77,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '9999', - 'PossibleNumberPattern' => '\\d{4}', - 'ExampleNumber' => '9999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PA.php b/src/libphonenumber/data/PhoneNumberMetadata_PA.php index b7dcf28c4..f66d66b97 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PA.php @@ -167,9 +167,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PE.php b/src/libphonenumber/data/PhoneNumberMetadata_PE.php index 07ca19ed5..76faa8b94 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PE.php @@ -76,14 +76,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 05| - 1[67] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '105', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PF.php b/src/libphonenumber/data/PhoneNumberMetadata_PF.php index b02e51ba6..62b86e9d3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PF.php @@ -85,9 +85,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[578]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '15', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PG.php b/src/libphonenumber/data/PhoneNumberMetadata_PG.php index 8e92a3160..4b9f67d54 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PG.php @@ -84,9 +84,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '000', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '000', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PH.php b/src/libphonenumber/data/PhoneNumberMetadata_PH.php index 7c8f42c8e..81c1b2ee3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PH.php @@ -8,50 +8,50 @@ 'generalDesc' => array ( 'NationalNumberPattern' => ' - 2\\d{5,7}| - [3-9]\\d{7,9}| - 1800\\d{7,9} - ', + 2\\d{5,7}| + [3-9]\\d{7,9}| + 1800\\d{7,9} + ', 'PossibleNumberPattern' => '\\d{5,13}', 'ExampleNumber' => '', ), 'fixedLine' => array ( 'NationalNumberPattern' => ' - 2\\d{5}(?:\\d{2})?| - (?: - 3[2-68]| - 4[2-9]| - 5[2-6]| - 6[2-58]| - 7[24578]| - 8[2-8] - )\\d{7}| - 88(?: - 22\\d{6}| - 42\\d{4} - ) - ', + 2\\d{5}(?:\\d{2})?| + (?: + 3[2-68]| + 4[2-9]| + 5[2-6]| + 6[2-58]| + 7[24578]| + 8[2-8] + )\\d{7}| + 88(?: + 22\\d{6}| + 42\\d{4} + ) + ', 'PossibleNumberPattern' => '\\d{5,10}', 'ExampleNumber' => '21234567', ), 'mobile' => array ( 'NationalNumberPattern' => ' - (?: - 81[37]| - 9(?: - 0[5-9]| - 1[025-9]| - 2[0-35-9]| - 3[02-9]| - 4[236-9]| - 7[3479]| - 89| - 9[46-9] - ) - )\\d{7} - ', + (?: + 81[37]| + 9(?: + 0[5-9]| + 1[025-9]| + 2[0-35-9]| + 3[02-9]| + 4[236-9]| + 7[3479]| + 89| + 9[46-9] + ) + )\\d{7} + ', 'PossibleNumberPattern' => '\\d{10}', 'ExampleNumber' => '9051234567', ), @@ -99,12 +99,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 11[27]| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '117', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -167,60 +164,60 @@ 'leadingDigitsPatterns' => array ( 0 => ' - 3(?: - 23| - 39| - 46 - )| - 4(?: - 2[3-6]| - [35]9| - 4[26]| - 76 - )| - 5(?: - 22| - 44 - )| - 642| - 8(?: - 62| - 8[245] - ) - ', - 1 => ' - 3(?: - 230| - 397| - 461 - )| - 4(?: - 2(?: - 35| - [46]4| - 51 + 3(?: + 23| + 39| + 46 )| - 396| 4(?: + 2[3-6]| + [35]9| + 4[26]| + 76 + )| + 5(?: 22| - 63 + 44 )| - 59[347]| - 76[15] - )| - 5(?: - 221| - 446 - )| - 642[23]| - 8(?: - 622| + 642| 8(?: - [24]2| - 5[13] + 62| + 8[245] ) - ) - ', + ', + 1 => ' + 3(?: + 230| + 397| + 461 + )| + 4(?: + 2(?: + 35| + [46]4| + 51 + )| + 396| + 4(?: + 22| + 63 + )| + 59[347]| + 76[15] + )| + 5(?: + 221| + 446 + )| + 642[23]| + 8(?: + 622| + 8(?: + [24]2| + 5[13] + ) + ) + ', ), 'nationalPrefixFormattingRule' => '(0$1)', 'domesticCarrierCodeFormattingRule' => '', @@ -232,24 +229,24 @@ 'leadingDigitsPatterns' => array ( 0 => ' - 346| - 4(?: - 27| - 9[35] - )| - 883 - ', + 346| + 4(?: + 27| + 9[35] + )| + 883 + ', 1 => ' - 3469| - 4(?: - 279| - 9(?: - 30| - 56 - ) - )| - 8834 - ', + 3469| + 4(?: + 279| + 9(?: + 30| + 56 + ) + )| + 8834 + ', ), 'nationalPrefixFormattingRule' => '(0$1)', 'domesticCarrierCodeFormattingRule' => '', @@ -272,9 +269,9 @@ 'leadingDigitsPatterns' => array ( 0 => ' - 81| - 9 - ', + 81| + 9 + ', ), 'nationalPrefixFormattingRule' => '0$1', 'domesticCarrierCodeFormattingRule' => '', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PK.php b/src/libphonenumber/data/PhoneNumberMetadata_PK.php index cef8e30bc..7eb9056b1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PK.php @@ -167,17 +167,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1(?: - 22?| - 5 - )| - [56] - ) - ', - 'PossibleNumberPattern' => '\\d{2,4}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PL.php b/src/libphonenumber/data/PhoneNumberMetadata_PL.php index 19e52a159..aad767a36 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PL.php @@ -94,12 +94,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 99[789] - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PM.php b/src/libphonenumber/data/PhoneNumberMetadata_PM.php index 725613bbc..9ef3a6a74 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PM.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[578]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '17', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PR.php b/src/libphonenumber/data/PhoneNumberMetadata_PR.php index fb10578a2..0038ff302 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PR.php @@ -91,9 +91,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PT.php b/src/libphonenumber/data/PhoneNumberMetadata_PT.php index 36b60af3d..eb4d54ac6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PT.php @@ -99,9 +99,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PW.php b/src/libphonenumber/data/PhoneNumberMetadata_PW.php index 3010288f6..62b8bd948 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PW.php @@ -98,9 +98,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PY.php b/src/libphonenumber/data/PhoneNumberMetadata_PY.php index 44a49bbd4..9556df872 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PY.php @@ -123,12 +123,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 128| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_QA.php b/src/libphonenumber/data/PhoneNumberMetadata_QA.php index 3920eff0e..4db846ba1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_QA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_QA.php @@ -72,9 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RE.php b/src/libphonenumber/data/PhoneNumberMetadata_RE.php index b934dbf7f..6a34f15fa 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RE.php @@ -79,14 +79,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - [578] - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '15', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RO.php b/src/libphonenumber/data/PhoneNumberMetadata_RO.php index 8ef02127d..69d7a39f2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RO.php @@ -88,9 +88,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RS.php b/src/libphonenumber/data/PhoneNumberMetadata_RS.php index db1d250e5..921f9e2ee 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RS.php @@ -104,12 +104,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 9[234] - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RU.php b/src/libphonenumber/data/PhoneNumberMetadata_RU.php index 9db071f29..08361d9e1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RU.php @@ -94,12 +94,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 0[123]| - 112 - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RW.php b/src/libphonenumber/data/PhoneNumberMetadata_RW.php index 6c4571418..5a84b14ba 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RW.php @@ -70,9 +70,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SA.php b/src/libphonenumber/data/PhoneNumberMetadata_SA.php index 4d0829775..803307043 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SA.php @@ -24,11 +24,13 @@ 'NationalNumberPattern' => ' (?: 11?\\d| - 2[24-8]| - 3[35-8]| - 4[3-68]| - 6[2-5]| - 7[235-7] + 1?(?: + 2[24-8]| + 3[35-8]| + 4[3-68]| + 6[2-5]| + 7[235-7] + ) )\\d{6} ', 'PossibleNumberPattern' => '\\d{7,9}', @@ -89,15 +91,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 9(?: - 11| - 9[7-9] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SB.php b/src/libphonenumber/data/PhoneNumberMetadata_SB.php index 7bcb44100..e71eba044 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SB.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SB.php @@ -90,9 +90,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SC.php b/src/libphonenumber/data/PhoneNumberMetadata_SC.php index c11ba3900..fa793cb6f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SC.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SD.php b/src/libphonenumber/data/PhoneNumberMetadata_SD.php index da436afd7..38aa80731 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SD.php @@ -72,9 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SE.php b/src/libphonenumber/data/PhoneNumberMetadata_SE.php index 3166a9b60..aae904de2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SE.php @@ -155,12 +155,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 90000 - ', - 'PossibleNumberPattern' => '\\d{3,5}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SG.php b/src/libphonenumber/data/PhoneNumberMetadata_SG.php index ed812250c..071636471 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SG.php @@ -75,9 +75,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '99[359]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SH.php b/src/libphonenumber/data/PhoneNumberMetadata_SH.php index 85350cd4b..4c0685604 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SH.php @@ -81,14 +81,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SI.php b/src/libphonenumber/data/PhoneNumberMetadata_SI.php index 998ef7e73..45c312047 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SI.php @@ -93,9 +93,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[23]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SJ.php b/src/libphonenumber/data/PhoneNumberMetadata_SJ.php index c251bf4b0..540a7f52b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SJ.php @@ -90,9 +90,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[023]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SK.php b/src/libphonenumber/data/PhoneNumberMetadata_SK.php index e8f76a432..1aff80f88 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SK.php @@ -83,14 +83,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 5[058] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SL.php b/src/libphonenumber/data/PhoneNumberMetadata_SL.php index 2f47ae4a7..11e3a5f96 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SL.php @@ -76,14 +76,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - (?: - 01| - 99 - )9 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SM.php b/src/libphonenumber/data/PhoneNumberMetadata_SM.php index ccb7b8f81..2731fe1e9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SM.php @@ -72,9 +72,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[358]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '113', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SR.php b/src/libphonenumber/data/PhoneNumberMetadata_SR.php index ad6ccba66..181a6c45a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SR.php @@ -80,9 +80,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '115', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '115', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ST.php b/src/libphonenumber/data/PhoneNumberMetadata_ST.php index 55d6bbe72..c71f18048 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ST.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ST.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SV.php b/src/libphonenumber/data/PhoneNumberMetadata_SV.php index 463e5d87a..334bc01e4 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SV.php @@ -73,9 +73,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SX.php b/src/libphonenumber/data/PhoneNumberMetadata_SX.php index 5ddf0e89f..87bcd745c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SX.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SX.php @@ -94,9 +94,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '919', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '919', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SY.php b/src/libphonenumber/data/PhoneNumberMetadata_SY.php index ef0e8d544..f3789e78c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SY.php @@ -91,9 +91,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[023]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SZ.php b/src/libphonenumber/data/PhoneNumberMetadata_SZ.php index 843f65005..4a598b613 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SZ.php @@ -92,9 +92,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TC.php b/src/libphonenumber/data/PhoneNumberMetadata_TC.php index 5068b4e2f..942a177ac 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TC.php @@ -101,14 +101,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TD.php b/src/libphonenumber/data/PhoneNumberMetadata_TD.php index 6dc67ed7c..1d1b18b4c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TD.php @@ -82,9 +82,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[78]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '17', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TG.php b/src/libphonenumber/data/PhoneNumberMetadata_TG.php index 846b17bcd..0c70a1abc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TG.php @@ -76,15 +76,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 01| - 1[78]| - 7[17] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '117', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TH.php b/src/libphonenumber/data/PhoneNumberMetadata_TH.php index 047178f49..f6dd6c00b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TH.php @@ -78,14 +78,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 669| - 9[19] - ) - ', - 'PossibleNumberPattern' => '\\d{3,4}', - 'ExampleNumber' => '191', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TJ.php b/src/libphonenumber/data/PhoneNumberMetadata_TJ.php index 26b1879da..666d4d3b5 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TJ.php @@ -88,14 +88,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[1-3]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TL.php b/src/libphonenumber/data/PhoneNumberMetadata_TL.php index 674412d55..2dda7be5f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TL.php @@ -76,9 +76,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[25]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TM.php b/src/libphonenumber/data/PhoneNumberMetadata_TM.php index 539061761..bb6f413c0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TM.php @@ -93,9 +93,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '0[1-3]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '03', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TN.php b/src/libphonenumber/data/PhoneNumberMetadata_TN.php index 11831e327..c44b95492 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TN.php @@ -78,9 +78,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '19[078]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '197', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TO.php b/src/libphonenumber/data/PhoneNumberMetadata_TO.php index f6fae7b1d..8d23e86a0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TO.php @@ -81,16 +81,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11| - 22| - 33| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TR.php b/src/libphonenumber/data/PhoneNumberMetadata_TR.php index dd116c3c3..7aa277cfa 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TR.php @@ -101,14 +101,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1[02]| - 55 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TT.php b/src/libphonenumber/data/PhoneNumberMetadata_TT.php index eb07e93d0..c03dfc5cc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TT.php @@ -119,9 +119,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '99[09]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TV.php b/src/libphonenumber/data/PhoneNumberMetadata_TV.php index e4f92719c..ab69ea536 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TV.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TW.php b/src/libphonenumber/data/PhoneNumberMetadata_TW.php index 23c851651..d06d20c2f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TW.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[029]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '110', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TZ.php b/src/libphonenumber/data/PhoneNumberMetadata_TZ.php index 618e6905d..e1f28ec1f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TZ.php @@ -77,12 +77,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 11[12]| - 999 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '111', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_UA.php b/src/libphonenumber/data/PhoneNumberMetadata_UA.php index 9421523a6..a09b8df2a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_UA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_UA.php @@ -81,14 +81,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 0[123]| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_UG.php b/src/libphonenumber/data/PhoneNumberMetadata_UG.php index d5f37678c..a97bd553e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_UG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_UG.php @@ -87,9 +87,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '999', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_US.php b/src/libphonenumber/data/PhoneNumberMetadata_US.php index ad884cb4c..613ddb054 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_US.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_US.php @@ -257,12 +257,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 112| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_UY.php b/src/libphonenumber/data/PhoneNumberMetadata_UY.php index 4ba09b97e..8351bfe0c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_UY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_UY.php @@ -70,12 +70,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 128| - 911 - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_UZ.php b/src/libphonenumber/data/PhoneNumberMetadata_UZ.php index 8a651928b..545ccdf76 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_UZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_UZ.php @@ -380,15 +380,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 0(?: - 0[123]| - [123]| - 50 - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '01', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VA.php b/src/libphonenumber/data/PhoneNumberMetadata_VA.php index b63ebd243..c28195783 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VA.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[2358]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '113', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VC.php b/src/libphonenumber/data/PhoneNumberMetadata_VC.php index d68b488f7..7b25a1290 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VC.php @@ -112,14 +112,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VE.php b/src/libphonenumber/data/PhoneNumberMetadata_VE.php index 316624c40..5f525cba9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VE.php @@ -83,9 +83,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '171', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '171', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( @@ -115,7 +115,7 @@ 'countryCode' => 58, 'internationalPrefix' => '00', 'nationalPrefix' => '0', - 'nationalPrefixForParsing' => '(1\\d{2})|0', + 'nationalPrefixForParsing' => '0', 'sameMobileAndFixedLinePattern' => false, 'numberFormat' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VG.php b/src/libphonenumber/data/PhoneNumberMetadata_VG.php index 64e34427c..9e2eb0a22 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VG.php @@ -113,14 +113,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 9(?: - 11| - 99 - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VI.php b/src/libphonenumber/data/PhoneNumberMetadata_VI.php index e4cc54d5f..aac3841c6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VI.php @@ -147,9 +147,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '911', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '911', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VN.php b/src/libphonenumber/data/PhoneNumberMetadata_VN.php index c2819e053..d4f786ae2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VN.php @@ -111,9 +111,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '11[345]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '113', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VU.php b/src/libphonenumber/data/PhoneNumberMetadata_VU.php index 983b9de1a..2f74d7e05 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VU.php @@ -88,9 +88,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '112', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '112', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_WF.php b/src/libphonenumber/data/PhoneNumberMetadata_WF.php index c0d65462a..7768db510 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_WF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_WF.php @@ -79,9 +79,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '1[578]', - 'PossibleNumberPattern' => '\\d{2}', - 'ExampleNumber' => '15', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_WS.php b/src/libphonenumber/data/PhoneNumberMetadata_WS.php index 4d556cf7a..e60411f62 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_WS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_WS.php @@ -78,9 +78,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '99[4-6]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '994', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_YE.php b/src/libphonenumber/data/PhoneNumberMetadata_YE.php index c8726346f..64ee483f0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_YE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_YE.php @@ -80,9 +80,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => '19[1459]', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '191', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_YT.php b/src/libphonenumber/data/PhoneNumberMetadata_YT.php index 5d25a4c32..7dc7b98e8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_YT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_YT.php @@ -67,14 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 12| - 5 - ) - ', - 'PossibleNumberPattern' => '\\d{2,3}', - 'ExampleNumber' => '15', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ZA.php b/src/libphonenumber/data/PhoneNumberMetadata_ZA.php index bc58427ed..72551233b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ZA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ZA.php @@ -90,17 +90,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - 1(?: - 01(?: - 11| - 77 - )| - 12 - ) - ', - 'PossibleNumberPattern' => '\\d{3,5}', - 'ExampleNumber' => '10111', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ZM.php b/src/libphonenumber/data/PhoneNumberMetadata_ZM.php index 912d75fbb..b53c62731 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ZM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ZM.php @@ -73,14 +73,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - (?: - 112| - 99[139] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ZW.php b/src/libphonenumber/data/PhoneNumberMetadata_ZW.php index de078c826..56ad7e486 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ZW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ZW.php @@ -149,14 +149,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => ' - (?: - 112| - 99[3459] - ) - ', - 'PossibleNumberPattern' => '\\d{3}', - 'ExampleNumber' => '999', + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_AM.php b/src/libphonenumber/data/ShortNumberMetadata_AM.php index f333a8536..13672c151 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_AM.php +++ b/src/libphonenumber/data/ShortNumberMetadata_AM.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '10[123]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '102', ), 'voicemail' => array ( @@ -80,11 +80,10 @@ 'shortCode' => array ( 'NationalNumberPattern' => ' - 8[1-7]\\d{2}| - 1(?: - 0[04-9]| - [1-9]\\d - ) + (?: + 1| + 8[1-7] + )\\d{2} ', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '8711', diff --git a/src/libphonenumber/data/ShortNumberMetadata_AR.php b/src/libphonenumber/data/ShortNumberMetadata_AR.php index d5098d865..6762a6919 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_AR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_AR.php @@ -7,27 +7,33 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{2}', - 'PossibleNumberPattern' => '\\d{3}', + 'NationalNumberPattern' => '[019]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{2}', - 'PossibleNumberPattern' => '\\d{3}', + 'NationalNumberPattern' => '[019]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{2}', - 'PossibleNumberPattern' => '\\d{3}', + 'NationalNumberPattern' => '[019]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', 'ExampleNumber' => '', ), 'tollFree' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + [09]\\d{1,2}| + 1(?: + [02-9]\\d?| + 1[0-24-9]? + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '111', ), 'premiumRate' => array ( @@ -67,9 +73,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 10[017]| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '101', ), 'voicemail' => array ( @@ -80,13 +89,16 @@ 'shortCode' => array ( 'NationalNumberPattern' => ' + 00| 1(?: - 0[2356]| + 0[0-35-7]| 1[02-5]| - 21 - ) + 2[15]| + 9 + )| + 911 ', - 'PossibleNumberPattern' => '\\d{3}', + 'PossibleNumberPattern' => '\\d{2,3}', 'ExampleNumber' => '121', ), 'standardRate' => diff --git a/src/libphonenumber/data/ShortNumberMetadata_BD.php b/src/libphonenumber/data/ShortNumberMetadata_BD.php index 0e3397dfd..8e42fe7e7 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_BD.php +++ b/src/libphonenumber/data/ShortNumberMetadata_BD.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{2,4}', + 'NationalNumberPattern' => '[19]\\d{2,4}', 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{2,4}', + 'NationalNumberPattern' => '[19]\\d{2,4}', 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{2,4}', + 'NationalNumberPattern' => '[19]\\d{2,4}', 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '', ), @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 10[0-2]| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( @@ -82,7 +85,7 @@ 'NationalNumberPattern' => ' 1(?: 0(?: - [39]| + [0-39]| 5(?: 0\\d| [1-4] @@ -106,7 +109,8 @@ 1\\d{2} )| 5[2-9] - ) + )| + 999 ', 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '103', diff --git a/src/libphonenumber/data/ShortNumberMetadata_BR.php b/src/libphonenumber/data/ShortNumberMetadata_BR.php index f944a8a54..e95e0ff22 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_BR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_BR.php @@ -72,9 +72,16 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 12| + 28| + 9[023] + )| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '190', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_CH.php b/src/libphonenumber/data/ShortNumberMetadata_CH.php index c451a6d8d..e9a5f38dd 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_CH.php +++ b/src/libphonenumber/data/ShortNumberMetadata_CH.php @@ -79,9 +79,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 1[278]| + 44 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_CR.php b/src/libphonenumber/data/ShortNumberMetadata_CR.php index 752dc41ed..ee0cbe0be 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_CR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_CR.php @@ -7,20 +7,20 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '[19]\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '[19]\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '[19]\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'tollFree' => @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', ), 'voicemail' => array ( @@ -88,6 +91,7 @@ )| 1(?: 1[0-35-9]| + 2| 37| [46]6| 7[57]| @@ -117,9 +121,10 @@ [67]7 )| 975 - ) + )| + 911 ', - 'PossibleNumberPattern' => '\\d{4}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '1022', ), 'standardRate' => diff --git a/src/libphonenumber/data/ShortNumberMetadata_CU.php b/src/libphonenumber/data/ShortNumberMetadata_CU.php index ce6109145..f8821e5cb 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_CU.php +++ b/src/libphonenumber/data/ShortNumberMetadata_CU.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '10[456]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '106', ), 'voicemail' => array ( @@ -81,6 +81,7 @@ array ( 'NationalNumberPattern' => ' 1(?: + 0[456]| 1(?: 6111| 8 diff --git a/src/libphonenumber/data/ShortNumberMetadata_CZ.php b/src/libphonenumber/data/ShortNumberMetadata_CZ.php index 692779761..9fcfdb4bf 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_CZ.php +++ b/src/libphonenumber/data/ShortNumberMetadata_CZ.php @@ -7,20 +7,20 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{3,5}', - 'PossibleNumberPattern' => '\\d{4,6}', + 'NationalNumberPattern' => '1\\d{2,5}', + 'PossibleNumberPattern' => '\\d{3,6}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{3,5}', - 'PossibleNumberPattern' => '\\d{4,6}', + 'NationalNumberPattern' => '1\\d{2,5}', + 'PossibleNumberPattern' => '\\d{3,6}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{3,5}', - 'PossibleNumberPattern' => '\\d{4,6}', + 'NationalNumberPattern' => '1\\d{2,5}', + 'PossibleNumberPattern' => '\\d{3,6}', 'ExampleNumber' => '', ), 'tollFree' => @@ -67,9 +67,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 12| + 5[058] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -82,16 +87,18 @@ 'NationalNumberPattern' => ' 1(?: 1(?: + 2| 6\\d{3}| 8\\d )| 2\\d{2,3}| 3\\d{3,4}| 4\\d{3}| + 5[058]| 99 ) ', - 'PossibleNumberPattern' => '\\d{4,6}', + 'PossibleNumberPattern' => '\\d{3,6}', 'ExampleNumber' => '116123', ), 'standardRate' => diff --git a/src/libphonenumber/data/ShortNumberMetadata_DE.php b/src/libphonenumber/data/ShortNumberMetadata_DE.php index 87febd204..7f0f429f1 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_DE.php +++ b/src/libphonenumber/data/ShortNumberMetadata_DE.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '11[02]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -79,7 +79,7 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '115', + 'NationalNumberPattern' => '11[025]', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '115', ), diff --git a/src/libphonenumber/data/ShortNumberMetadata_EE.php b/src/libphonenumber/data/ShortNumberMetadata_EE.php index 788424d22..b5eb94251 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_EE.php +++ b/src/libphonenumber/data/ShortNumberMetadata_EE.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '11[02]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -79,12 +79,7 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => ' - 1(?: - 1[13-9]| - [2-9]\\d - ) - ', + 'NationalNumberPattern' => '1\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '116', ), diff --git a/src/libphonenumber/data/ShortNumberMetadata_FJ.php b/src/libphonenumber/data/ShortNumberMetadata_FJ.php index 2c0918cdf..903ac4488 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_FJ.php +++ b/src/libphonenumber/data/ShortNumberMetadata_FJ.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '91[17]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', ), 'voicemail' => array ( @@ -92,7 +92,7 @@ 30| [45]4| 75| - 913 + 91[137] ', 'PossibleNumberPattern' => '\\d{2,3}', 'ExampleNumber' => '22', diff --git a/src/libphonenumber/data/ShortNumberMetadata_FK.php b/src/libphonenumber/data/ShortNumberMetadata_FK.php index 6673bfd8d..17a84b911 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_FK.php +++ b/src/libphonenumber/data/ShortNumberMetadata_FK.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( @@ -79,7 +79,10 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => ' + 1\\d{2}| + 999 + ', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '123', ), diff --git a/src/libphonenumber/data/ShortNumberMetadata_FO.php b/src/libphonenumber/data/ShortNumberMetadata_FO.php index 46bfc6ee4..3dca1ba72 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_FO.php +++ b/src/libphonenumber/data/ShortNumberMetadata_FO.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -81,7 +81,7 @@ array ( 'NationalNumberPattern' => ' 1(?: - 1[48]| + 1[248]| 4[124]\\d| 71\\d| 8[7-9]\\d diff --git a/src/libphonenumber/data/ShortNumberMetadata_FR.php b/src/libphonenumber/data/ShortNumberMetadata_FR.php index 1adb68b4d..f8ea89a7d 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_FR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_FR.php @@ -105,9 +105,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + [578]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_GB.php b/src/libphonenumber/data/ShortNumberMetadata_GB.php index 5b3142258..a35e95af2 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GB.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GB.php @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 112| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_GG.php b/src/libphonenumber/data/ShortNumberMetadata_GG.php index 4b8f317cc..3aca773b4 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GG.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GG.php @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 112| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_GI.php b/src/libphonenumber/data/ShortNumberMetadata_GI.php index 43b2159e5..556d1d8cb 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GI.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GI.php @@ -67,9 +67,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 12| + 9[09] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -83,6 +88,7 @@ 1(?: 00| 1(?: + 2| 6(?: 00[06]| 11[17] @@ -95,7 +101,7 @@ 7[014] )| 5[015]| - 9[34] + 9[0349] )| 8(?: 00| diff --git a/src/libphonenumber/data/ShortNumberMetadata_GT.php b/src/libphonenumber/data/ShortNumberMetadata_GT.php index 2172e1da5..d5cfc8dd2 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GT.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GT.php @@ -67,9 +67,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 10| + 2[03] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_GY.php b/src/libphonenumber/data/ShortNumberMetadata_GY.php index 21e4380a1..f7687d974 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GY.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GY.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '0\\d{2,3}', + 'NationalNumberPattern' => '[09]\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '0\\d{2,3}', + 'NationalNumberPattern' => '[09]\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '0\\d{2,3}', + 'NationalNumberPattern' => '[09]\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '91[123]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', ), 'voicemail' => array ( @@ -90,7 +90,8 @@ 0[78]| [2-47] ) - ) + )| + 91[123] ', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '0801', diff --git a/src/libphonenumber/data/ShortNumberMetadata_HT.php b/src/libphonenumber/data/ShortNumberMetadata_HT.php index d64c34c23..32cb94e6e 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_HT.php +++ b/src/libphonenumber/data/ShortNumberMetadata_HT.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '11[48]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '118', ), 'voicemail' => array ( @@ -79,7 +79,7 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '11[48]', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '114', ), diff --git a/src/libphonenumber/data/ShortNumberMetadata_IL.php b/src/libphonenumber/data/ShortNumberMetadata_IL.php index dd066aa36..5bb899f2a 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_IL.php +++ b/src/libphonenumber/data/ShortNumberMetadata_IL.php @@ -7,20 +7,20 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '1\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '1\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '1\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'tollFree' => @@ -67,9 +67,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 0[012]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -79,8 +84,17 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => ' + 1(?: + 0[012]| + 1(?: + [013-9]\\d| + 2 + )| + [2-9]\\d{2} + ) + ', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '1455', ), 'standardRate' => diff --git a/src/libphonenumber/data/ShortNumberMetadata_IM.php b/src/libphonenumber/data/ShortNumberMetadata_IM.php index f38d5ab43..b8608e806 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_IM.php +++ b/src/libphonenumber/data/ShortNumberMetadata_IM.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_IT.php b/src/libphonenumber/data/ShortNumberMetadata_IT.php index d3a1e2a40..bbba2ce6f 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_IT.php +++ b/src/libphonenumber/data/ShortNumberMetadata_IT.php @@ -80,9 +80,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '11[2358]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_JE.php b/src/libphonenumber/data/ShortNumberMetadata_JE.php index e6fcf6c7f..151018873 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_JE.php +++ b/src/libphonenumber/data/ShortNumberMetadata_JE.php @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 112| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_JO.php b/src/libphonenumber/data/ShortNumberMetadata_JO.php index 62c32871f..33e492ddc 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_JO.php +++ b/src/libphonenumber/data/ShortNumberMetadata_JO.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), @@ -67,9 +67,15 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 12| + 91 + )| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -82,9 +88,10 @@ 'NationalNumberPattern' => ' 1(?: 09| - 1[01]| - 9[024-79] - ) + 1[0-2]| + 9[0-24-79] + )| + 911 ', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '111', diff --git a/src/libphonenumber/data/ShortNumberMetadata_KE.php b/src/libphonenumber/data/ShortNumberMetadata_KE.php index fbd6be868..47f5f729c 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_KE.php +++ b/src/libphonenumber/data/ShortNumberMetadata_KE.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{2,3}', + 'NationalNumberPattern' => '[19]\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{2,3}', + 'NationalNumberPattern' => '[19]\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{2,3}', + 'NationalNumberPattern' => '[19]\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 112| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( @@ -83,12 +86,13 @@ 1(?: 0[09]| 1(?: - [06]| + [026]| 9[0-2579] )| 2[13]| 3[01] - ) + )| + 999 ', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '116', diff --git a/src/libphonenumber/data/ShortNumberMetadata_KI.php b/src/libphonenumber/data/ShortNumberMetadata_KI.php index 4ca5fd162..acc08e7c1 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_KI.php +++ b/src/libphonenumber/data/ShortNumberMetadata_KI.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{2,3}', + 'NationalNumberPattern' => '[19]\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{2,3}', + 'NationalNumberPattern' => '[19]\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{2,3}', + 'NationalNumberPattern' => '[19]\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '99[2349]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( @@ -83,7 +83,8 @@ 10(?: [0-8]| 5[01259] - ) + )| + 99[2349] ', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '100', diff --git a/src/libphonenumber/data/ShortNumberMetadata_KW.php b/src/libphonenumber/data/ShortNumberMetadata_KW.php index f9afdc988..75340fef4 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_KW.php +++ b/src/libphonenumber/data/ShortNumberMetadata_KW.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -79,12 +79,7 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => ' - 1(?: - [02-9]\\d| - 1[013-9] - ) - ', + 'NationalNumberPattern' => '1\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '177', ), diff --git a/src/libphonenumber/data/ShortNumberMetadata_LI.php b/src/libphonenumber/data/ShortNumberMetadata_LI.php index efb2d5132..07a91effb 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_LI.php +++ b/src/libphonenumber/data/ShortNumberMetadata_LI.php @@ -67,9 +67,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 1[278]| + 44 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -81,9 +86,12 @@ array ( 'NationalNumberPattern' => ' 1(?: - 145| + 1(?: + [278]| + 45 + )| 4(?: - [0357]| + [03-57]| 14 )| 50\\d{4}| diff --git a/src/libphonenumber/data/ShortNumberMetadata_LU.php b/src/libphonenumber/data/ShortNumberMetadata_LU.php index 8658c9b47..d6ab1e16b 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_LU.php +++ b/src/libphonenumber/data/ShortNumberMetadata_LU.php @@ -7,20 +7,20 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '12\\d{3}', - 'PossibleNumberPattern' => '\\d{5}', + 'NationalNumberPattern' => '1\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '12\\d{3}', - 'PossibleNumberPattern' => '\\d{5}', + 'NationalNumberPattern' => '1\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '12\\d{3}', - 'PossibleNumberPattern' => '\\d{5}', + 'NationalNumberPattern' => '1\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '', ), 'tollFree' => @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '11[23]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -79,8 +79,13 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '12\\d{3}', - 'PossibleNumberPattern' => '\\d{5}', + 'NationalNumberPattern' => ' + 1(?: + 1[23]| + 2\\d{3} + ) + ', + 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '12123', ), 'standardRate' => diff --git a/src/libphonenumber/data/ShortNumberMetadata_MD.php b/src/libphonenumber/data/ShortNumberMetadata_MD.php index adf85fcc9..c910a5f5c 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_MD.php +++ b/src/libphonenumber/data/ShortNumberMetadata_MD.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{2,5}', + 'NationalNumberPattern' => '[19]\\d{2,5}', 'PossibleNumberPattern' => '\\d{3,6}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{2,5}', + 'NationalNumberPattern' => '[19]\\d{2,5}', 'PossibleNumberPattern' => '\\d{3,6}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{2,5}', + 'NationalNumberPattern' => '[19]\\d{2,5}', 'PossibleNumberPattern' => '\\d{3,6}', 'ExampleNumber' => '', ), @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 112| + 90[123] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -82,7 +85,7 @@ 'NationalNumberPattern' => ' 1(?: 1(?: - [79]| + [279]| 6(?: 000| 1(?: @@ -97,7 +100,7 @@ 6[0-389]\\d| 8\\d{2}| 9(?: - 0[04-9]| + 0[0-9]| [1-4]\\d ) ) diff --git a/src/libphonenumber/data/ShortNumberMetadata_ME.php b/src/libphonenumber/data/ShortNumberMetadata_ME.php index c3e698adc..3ab1ae1c7 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_ME.php +++ b/src/libphonenumber/data/ShortNumberMetadata_ME.php @@ -67,9 +67,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 12| + 2[234] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -81,12 +86,13 @@ array ( 'NationalNumberPattern' => ' 1(?: - 16\\d{3}| - 2(?: - [015-9]| - \\d{2} + [035]\\d{2}| + 1(?: + [013-57-9]\\d| + 2| + 6\\d{3} )| - [0135]\\d{2}| + 2\\d{1,2}| 4\\d{2,3}| 9\\d{3} ) diff --git a/src/libphonenumber/data/ShortNumberMetadata_MU.php b/src/libphonenumber/data/ShortNumberMetadata_MU.php index 8d1c7d18c..3d603af88 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_MU.php +++ b/src/libphonenumber/data/ShortNumberMetadata_MU.php @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 11[45]| + 99[59] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_MV.php b/src/libphonenumber/data/ShortNumberMetadata_MV.php index df970b890..1e223ac79 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_MV.php +++ b/src/libphonenumber/data/ShortNumberMetadata_MV.php @@ -67,9 +67,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 02| + 19 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '102', ), 'voicemail' => array ( @@ -81,8 +86,10 @@ array ( 'NationalNumberPattern' => ' 1(?: - [19]0| - 23 + 02| + 1[09]| + 23| + 90 ) ', 'PossibleNumberPattern' => '\\d{3}', diff --git a/src/libphonenumber/data/ShortNumberMetadata_MZ.php b/src/libphonenumber/data/ShortNumberMetadata_MZ.php index 2608b9a04..57f1789ae 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_MZ.php +++ b/src/libphonenumber/data/ShortNumberMetadata_MZ.php @@ -7,20 +7,20 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '1\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '1\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '1\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'tollFree' => @@ -67,9 +67,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 1(?: + 1[79]| + 9[78] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '119', ), 'voicemail' => array ( @@ -79,8 +84,14 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '1[02-5]\\d{2}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => ' + 1(?: + [02-5]\\d{2}| + 1[79]| + 9[78] + ) + ', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '1011', ), 'standardRate' => diff --git a/src/libphonenumber/data/ShortNumberMetadata_NA.php b/src/libphonenumber/data/ShortNumberMetadata_NA.php index 1f87aa125..74411b364 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_NA.php +++ b/src/libphonenumber/data/ShortNumberMetadata_NA.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '10111', + 'PossibleNumberPattern' => '\\d{5}', + 'ExampleNumber' => '10111', ), 'voicemail' => array ( @@ -80,7 +80,10 @@ 'shortCode' => array ( 'NationalNumberPattern' => ' - 1\\d{3}| + 1(?: + 0111| + \\d{3} + )| 9(?: 3111| \\d{2} diff --git a/src/libphonenumber/data/ShortNumberMetadata_NC.php b/src/libphonenumber/data/ShortNumberMetadata_NC.php index deddfd35f..81420b8ae 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_NC.php +++ b/src/libphonenumber/data/ShortNumberMetadata_NC.php @@ -7,27 +7,48 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => ' + 1\\d{1,3}| + 3\\d{3}| + 5\\d{2} + ', + 'PossibleNumberPattern' => '\\d{2,4}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => ' + 1\\d{1,3}| + 3\\d{3}| + 5\\d{2} + ', + 'PossibleNumberPattern' => '\\d{2,4}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{3}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => ' + 1\\d{1,3}| + 3\\d{3}| + 5\\d{2} + ', + 'PossibleNumberPattern' => '\\d{2,4}', 'ExampleNumber' => '', ), 'tollFree' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 10(?: + 00| + 1[23]| + 3[0-2]| + 88 + )| + 3631| + 577 + ', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '1000', ), 'premiumRate' => array ( @@ -67,9 +88,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '1[5-8]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '15', ), 'voicemail' => array ( @@ -80,24 +101,35 @@ 'shortCode' => array ( 'NationalNumberPattern' => ' - 10(?: - 0[06]| - 1[02-46]| - 20| - 3[0125]| - 42| - 5[058]| - 77 - ) + 1(?: + 0(?: + 0[06]| + 1[02-46]| + 20| + 3[0125]| + 42| + 5[058]| + 77| + 88 + )| + [5-8] + )| + 3631| + 5[6-8]\\d ', - 'PossibleNumberPattern' => '\\d{4}', + 'PossibleNumberPattern' => '\\d{2,4}', 'ExampleNumber' => '1000', ), 'standardRate' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 5(?: + 67| + 88 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '567', ), 'noInternationalDialling' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_NL.php b/src/libphonenumber/data/ShortNumberMetadata_NL.php index 84f5c43a1..3d6b6c976 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_NL.php +++ b/src/libphonenumber/data/ShortNumberMetadata_NL.php @@ -7,20 +7,20 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '18\\d{2}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '[19]\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '18\\d{2}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '[19]\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '18\\d{2}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => '[19]\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '', ), 'tollFree' => @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -79,8 +82,14 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '18\\d{2}', - 'PossibleNumberPattern' => '\\d{4}', + 'NationalNumberPattern' => ' + 1(?: + 12| + 833 + )| + 911 + ', + 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '1833', ), 'standardRate' => diff --git a/src/libphonenumber/data/ShortNumberMetadata_NR.php b/src/libphonenumber/data/ShortNumberMetadata_NR.php index ee0efc118..3fe0a6cf8 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_NR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_NR.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '11[0-2]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_PA.php b/src/libphonenumber/data/ShortNumberMetadata_PA.php index e6064d933..a95ae10fa 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_PA.php +++ b/src/libphonenumber/data/ShortNumberMetadata_PA.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '10[2-4]', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '10[2-4]', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '10[2-4]', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', ), 'voicemail' => array ( @@ -79,7 +79,10 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '10[2-4]', + 'NationalNumberPattern' => ' + 10[2-4]| + 911 + ', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '102', ), diff --git a/src/libphonenumber/data/ShortNumberMetadata_PY.php b/src/libphonenumber/data/ShortNumberMetadata_PY.php index 72658fa6c..b47808041 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_PY.php +++ b/src/libphonenumber/data/ShortNumberMetadata_PY.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1[1-4]\\d', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1[1-4]\\d', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1[1-4]\\d', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 128| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', ), 'voicemail' => array ( @@ -79,7 +82,10 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '1[1-4]\\d', + 'NationalNumberPattern' => ' + 1[1-4]\\d| + 911 + ', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '123', ), diff --git a/src/libphonenumber/data/ShortNumberMetadata_QA.php b/src/libphonenumber/data/ShortNumberMetadata_QA.php index 2e17f6bcb..1f61ead9b 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_QA.php +++ b/src/libphonenumber/data/ShortNumberMetadata_QA.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( @@ -84,7 +84,8 @@ 1| 20| 9[27]\\d - )\\d{2} + )\\d{2}| + 999 ', 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '2012', diff --git a/src/libphonenumber/data/ShortNumberMetadata_RS.php b/src/libphonenumber/data/ShortNumberMetadata_RS.php index 72cb76d6c..584fcee6d 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_RS.php +++ b/src/libphonenumber/data/ShortNumberMetadata_RS.php @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 112| + 9[234] + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_SA.php b/src/libphonenumber/data/ShortNumberMetadata_SA.php index c67927c06..76f3331fb 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SA.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SA.php @@ -67,9 +67,15 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 112| + 9(?: + 11| + 9[7-9] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_SB.php b/src/libphonenumber/data/ShortNumberMetadata_SB.php index f0f5b22ae..3d65051d9 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SB.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SB.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( @@ -93,7 +93,8 @@ 33| 55| 77| - 88 + 88| + 99 ) ', 'PossibleNumberPattern' => '\\d{3}', diff --git a/src/libphonenumber/data/ShortNumberMetadata_SC.php b/src/libphonenumber/data/ShortNumberMetadata_SC.php index a136244b3..31497de02 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SC.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SC.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( @@ -91,7 +91,10 @@ 7[124-6]| 8[158] )| - 96\\d{2} + 9(?: + 6\\d{2}| + 99 + ) ', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '100', diff --git a/src/libphonenumber/data/ShortNumberMetadata_SG.php b/src/libphonenumber/data/ShortNumberMetadata_SG.php index 62f2d60a2..d9b47a03f 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SG.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SG.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '99[359]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( @@ -87,7 +87,7 @@ 0[1-9] )| [57]\\d{2,3})| - 99[0246-8] + 99[02-9] ', 'PossibleNumberPattern' => '\\d{3,5}', 'ExampleNumber' => '1312', diff --git a/src/libphonenumber/data/ShortNumberMetadata_SH.php b/src/libphonenumber/data/ShortNumberMetadata_SH.php index 542669927..c8bed8863 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SH.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SH.php @@ -67,9 +67,14 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', ), 'voicemail' => array ( diff --git a/src/libphonenumber/data/ShortNumberMetadata_SR.php b/src/libphonenumber/data/ShortNumberMetadata_SR.php index be42bd8b5..461514741 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SR.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '115', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '115', ), 'voicemail' => array ( @@ -79,13 +79,7 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => ' - 1(?: - [02-9]\\d| - 1[0-46-9]| - \\d{3} - ) - ', + 'NationalNumberPattern' => '1\\d{2,3}', 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '1234', ), diff --git a/src/libphonenumber/data/ShortNumberMetadata_TL.php b/src/libphonenumber/data/ShortNumberMetadata_TL.php index 6af837609..f62aeadef 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_TL.php +++ b/src/libphonenumber/data/ShortNumberMetadata_TL.php @@ -67,9 +67,9 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => '11[25]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', ), 'voicemail' => array ( @@ -82,6 +82,7 @@ 'NationalNumberPattern' => ' 1(?: 0[02]| + 1[25]| 2[0138]| 72| 9[07] diff --git a/src/libphonenumber/data/ShortNumberMetadata_UY.php b/src/libphonenumber/data/ShortNumberMetadata_UY.php index ce49ab322..16f48a415 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_UY.php +++ b/src/libphonenumber/data/ShortNumberMetadata_UY.php @@ -7,19 +7,19 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'fixedLine' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), 'mobile' => array ( - 'NationalNumberPattern' => '1\\d{2}', + 'NationalNumberPattern' => '[19]\\d{2}', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '', ), @@ -67,9 +67,12 @@ ), 'emergency' => array ( - 'NationalNumberPattern' => 'NA', - 'PossibleNumberPattern' => 'NA', - 'ExampleNumber' => '', + 'NationalNumberPattern' => ' + 128| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', ), 'voicemail' => array ( @@ -84,7 +87,8 @@ 0[4-9]| 1[2368]| 2[0-3568] - ) + )| + 911 ', 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '104', From d2e6b7ba9a0238bbbdc8e2db5edaf4000b131219 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Wed, 4 Sep 2013 10:42:28 +0100 Subject: [PATCH 2/7] Update composer.json to use this branch as 5.8-dev --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0a66ccbe9..57aee8adf 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,8 @@ }, "extra": { "branch-alias": { - "dev-master": "5.x-dev" + "dev-master": "5.x-dev", + "dev-google_v5.8": "5.8-dev" } } } From 8e8b945df42478f9bd0e05a2c1088a171859806a Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Tue, 10 Sep 2013 18:02:28 +0100 Subject: [PATCH 3/7] Incorrect functional call in ShortNumberInfo Added carrierSpecific to the build process, and rebuilt data files. Unit tests still fail --- .gitignore | 2 +- .../PhoneNumberMetadataForTesting_800.php | 6 + .../PhoneNumberMetadataForTesting_979.php | 6 + .../data/PhoneNumberMetadataForTesting_AD.php | 6 + .../data/PhoneNumberMetadataForTesting_AE.php | 6 + .../data/PhoneNumberMetadataForTesting_AO.php | 6 + .../data/PhoneNumberMetadataForTesting_AR.php | 6 + .../data/PhoneNumberMetadataForTesting_AU.php | 6 + .../data/PhoneNumberMetadataForTesting_BR.php | 6 + .../data/PhoneNumberMetadataForTesting_BS.php | 6 + .../data/PhoneNumberMetadataForTesting_BY.php | 6 + .../data/PhoneNumberMetadataForTesting_DE.php | 6 + .../data/PhoneNumberMetadataForTesting_FR.php | 117 +++++++ .../data/PhoneNumberMetadataForTesting_GB.php | 6 + .../data/PhoneNumberMetadataForTesting_GG.php | 117 +++++++ .../data/PhoneNumberMetadataForTesting_IT.php | 6 + .../data/PhoneNumberMetadataForTesting_JP.php | 6 + .../data/PhoneNumberMetadataForTesting_KR.php | 6 + .../data/PhoneNumberMetadataForTesting_MX.php | 6 + .../data/PhoneNumberMetadataForTesting_NZ.php | 6 + .../data/PhoneNumberMetadataForTesting_PL.php | 6 + .../data/PhoneNumberMetadataForTesting_RE.php | 6 + .../data/PhoneNumberMetadataForTesting_SG.php | 6 + .../data/PhoneNumberMetadataForTesting_US.php | 6 + .../data/PhoneNumberMetadataForTesting_YT.php | 6 + build/BuildMetadataFromXml.php | 2 + src/libphonenumber/NumberParseException.php | 4 +- src/libphonenumber/PhoneNumberUtil.php | 2 +- src/libphonenumber/ShortNumberInfo.php | 2 +- .../data/PhoneNumberAlternateFormats_30.php | 128 ++++++++ .../data/PhoneNumberAlternateFormats_31.php | 136 ++++++++ .../data/PhoneNumberAlternateFormats_34.php | 6 + .../data/PhoneNumberAlternateFormats_351.php | 6 + .../data/PhoneNumberAlternateFormats_352.php | 6 + .../data/PhoneNumberAlternateFormats_359.php | 6 + .../data/PhoneNumberAlternateFormats_372.php | 6 + .../data/PhoneNumberAlternateFormats_373.php | 6 + .../data/PhoneNumberAlternateFormats_375.php | 6 + .../data/PhoneNumberAlternateFormats_380.php | 6 + .../data/PhoneNumberAlternateFormats_385.php | 161 ++++++++++ .../data/PhoneNumberAlternateFormats_43.php | 6 + .../data/PhoneNumberAlternateFormats_44.php | 6 + .../data/PhoneNumberAlternateFormats_49.php | 6 + .../data/PhoneNumberAlternateFormats_55.php | 6 + .../data/PhoneNumberAlternateFormats_58.php | 127 ++++++++ .../data/PhoneNumberAlternateFormats_595.php | 6 + .../data/PhoneNumberAlternateFormats_61.php | 6 + .../data/PhoneNumberAlternateFormats_62.php | 131 ++++++++ .../data/PhoneNumberAlternateFormats_63.php | 128 ++++++++ .../data/PhoneNumberAlternateFormats_7.php | 6 + .../data/PhoneNumberAlternateFormats_81.php | 6 + .../data/PhoneNumberAlternateFormats_855.php | 6 + .../data/PhoneNumberAlternateFormats_90.php | 6 + .../data/PhoneNumberAlternateFormats_971.php | 128 ++++++++ .../data/PhoneNumberAlternateFormats_972.php | 128 ++++++++ .../data/PhoneNumberMetadata_800.php | 6 + .../data/PhoneNumberMetadata_808.php | 6 + .../data/PhoneNumberMetadata_870.php | 6 + .../data/PhoneNumberMetadata_878.php | 6 + .../data/PhoneNumberMetadata_881.php | 6 + .../data/PhoneNumberMetadata_882.php | 6 + .../data/PhoneNumberMetadata_883.php | 6 + .../data/PhoneNumberMetadata_888.php | 6 + .../data/PhoneNumberMetadata_979.php | 6 + .../data/PhoneNumberMetadata_AC.php | 6 + .../data/PhoneNumberMetadata_AD.php | 6 + .../data/PhoneNumberMetadata_AE.php | 6 + .../data/PhoneNumberMetadata_AF.php | 6 + .../data/PhoneNumberMetadata_AG.php | 6 + .../data/PhoneNumberMetadata_AI.php | 6 + .../data/PhoneNumberMetadata_AL.php | 6 + .../data/PhoneNumberMetadata_AM.php | 6 + .../data/PhoneNumberMetadata_AO.php | 6 + .../data/PhoneNumberMetadata_AR.php | 6 + .../data/PhoneNumberMetadata_AS.php | 6 + .../data/PhoneNumberMetadata_AT.php | 6 + .../data/PhoneNumberMetadata_AU.php | 6 + .../data/PhoneNumberMetadata_AW.php | 6 + .../data/PhoneNumberMetadata_AX.php | 6 + .../data/PhoneNumberMetadata_AZ.php | 6 + .../data/PhoneNumberMetadata_BA.php | 6 + .../data/PhoneNumberMetadata_BB.php | 6 + .../data/PhoneNumberMetadata_BD.php | 6 + .../data/PhoneNumberMetadata_BE.php | 6 + .../data/PhoneNumberMetadata_BF.php | 6 + .../data/PhoneNumberMetadata_BG.php | 6 + .../data/PhoneNumberMetadata_BH.php | 6 + .../data/PhoneNumberMetadata_BI.php | 6 + .../data/PhoneNumberMetadata_BJ.php | 6 + .../data/PhoneNumberMetadata_BL.php | 6 + .../data/PhoneNumberMetadata_BM.php | 6 + .../data/PhoneNumberMetadata_BN.php | 6 + .../data/PhoneNumberMetadata_BO.php | 6 + .../data/PhoneNumberMetadata_BQ.php | 6 + .../data/PhoneNumberMetadata_BR.php | 6 + .../data/PhoneNumberMetadata_BS.php | 6 + .../data/PhoneNumberMetadata_BT.php | 6 + .../data/PhoneNumberMetadata_BW.php | 6 + .../data/PhoneNumberMetadata_BY.php | 6 + .../data/PhoneNumberMetadata_BZ.php | 6 + .../data/PhoneNumberMetadata_CA.php | 6 + .../data/PhoneNumberMetadata_CC.php | 6 + .../data/PhoneNumberMetadata_CD.php | 6 + .../data/PhoneNumberMetadata_CF.php | 6 + .../data/PhoneNumberMetadata_CG.php | 6 + .../data/PhoneNumberMetadata_CH.php | 6 + .../data/PhoneNumberMetadata_CI.php | 6 + .../data/PhoneNumberMetadata_CK.php | 6 + .../data/PhoneNumberMetadata_CL.php | 6 + .../data/PhoneNumberMetadata_CM.php | 6 + .../data/PhoneNumberMetadata_CN.php | 6 + .../data/PhoneNumberMetadata_CO.php | 6 + .../data/PhoneNumberMetadata_CR.php | 6 + .../data/PhoneNumberMetadata_CU.php | 6 + .../data/PhoneNumberMetadata_CV.php | 6 + .../data/PhoneNumberMetadata_CW.php | 6 + .../data/PhoneNumberMetadata_CX.php | 6 + .../data/PhoneNumberMetadata_CY.php | 6 + .../data/PhoneNumberMetadata_CZ.php | 6 + .../data/PhoneNumberMetadata_DE.php | 6 + .../data/PhoneNumberMetadata_DJ.php | 6 + .../data/PhoneNumberMetadata_DK.php | 6 + .../data/PhoneNumberMetadata_DM.php | 6 + .../data/PhoneNumberMetadata_DO.php | 6 + .../data/PhoneNumberMetadata_DZ.php | 6 + .../data/PhoneNumberMetadata_EC.php | 6 + .../data/PhoneNumberMetadata_EE.php | 6 + .../data/PhoneNumberMetadata_EG.php | 6 + .../data/PhoneNumberMetadata_EH.php | 6 + .../data/PhoneNumberMetadata_ER.php | 6 + .../data/PhoneNumberMetadata_ES.php | 6 + .../data/PhoneNumberMetadata_ET.php | 6 + .../data/PhoneNumberMetadata_FI.php | 6 + .../data/PhoneNumberMetadata_FJ.php | 6 + .../data/PhoneNumberMetadata_FK.php | 6 + .../data/PhoneNumberMetadata_FM.php | 6 + .../data/PhoneNumberMetadata_FO.php | 6 + .../data/PhoneNumberMetadata_FR.php | 6 + .../data/PhoneNumberMetadata_GA.php | 6 + .../data/PhoneNumberMetadata_GB.php | 6 + .../data/PhoneNumberMetadata_GD.php | 6 + .../data/PhoneNumberMetadata_GE.php | 6 + .../data/PhoneNumberMetadata_GF.php | 6 + .../data/PhoneNumberMetadata_GG.php | 6 + .../data/PhoneNumberMetadata_GH.php | 6 + .../data/PhoneNumberMetadata_GI.php | 6 + .../data/PhoneNumberMetadata_GL.php | 6 + .../data/PhoneNumberMetadata_GM.php | 6 + .../data/PhoneNumberMetadata_GN.php | 6 + .../data/PhoneNumberMetadata_GP.php | 6 + .../data/PhoneNumberMetadata_GQ.php | 6 + .../data/PhoneNumberMetadata_GR.php | 6 + .../data/PhoneNumberMetadata_GT.php | 6 + .../data/PhoneNumberMetadata_GU.php | 6 + .../data/PhoneNumberMetadata_GW.php | 6 + .../data/PhoneNumberMetadata_GY.php | 6 + .../data/PhoneNumberMetadata_HK.php | 6 + .../data/PhoneNumberMetadata_HN.php | 6 + .../data/PhoneNumberMetadata_HR.php | 6 + .../data/PhoneNumberMetadata_HT.php | 6 + .../data/PhoneNumberMetadata_HU.php | 6 + .../data/PhoneNumberMetadata_ID.php | 6 + .../data/PhoneNumberMetadata_IE.php | 6 + .../data/PhoneNumberMetadata_IL.php | 6 + .../data/PhoneNumberMetadata_IM.php | 6 + .../data/PhoneNumberMetadata_IN.php | 6 + .../data/PhoneNumberMetadata_IO.php | 6 + .../data/PhoneNumberMetadata_IQ.php | 6 + .../data/PhoneNumberMetadata_IR.php | 6 + .../data/PhoneNumberMetadata_IS.php | 6 + .../data/PhoneNumberMetadata_IT.php | 6 + .../data/PhoneNumberMetadata_JE.php | 6 + .../data/PhoneNumberMetadata_JM.php | 6 + .../data/PhoneNumberMetadata_JO.php | 6 + .../data/PhoneNumberMetadata_JP.php | 6 + .../data/PhoneNumberMetadata_KE.php | 6 + .../data/PhoneNumberMetadata_KG.php | 6 + .../data/PhoneNumberMetadata_KH.php | 6 + .../data/PhoneNumberMetadata_KI.php | 6 + .../data/PhoneNumberMetadata_KM.php | 6 + .../data/PhoneNumberMetadata_KN.php | 6 + .../data/PhoneNumberMetadata_KP.php | 6 + .../data/PhoneNumberMetadata_KR.php | 6 + .../data/PhoneNumberMetadata_KW.php | 6 + .../data/PhoneNumberMetadata_KY.php | 6 + .../data/PhoneNumberMetadata_KZ.php | 6 + .../data/PhoneNumberMetadata_LA.php | 6 + .../data/PhoneNumberMetadata_LB.php | 6 + .../data/PhoneNumberMetadata_LC.php | 6 + .../data/PhoneNumberMetadata_LI.php | 6 + .../data/PhoneNumberMetadata_LK.php | 6 + .../data/PhoneNumberMetadata_LR.php | 6 + .../data/PhoneNumberMetadata_LS.php | 6 + .../data/PhoneNumberMetadata_LT.php | 6 + .../data/PhoneNumberMetadata_LU.php | 6 + .../data/PhoneNumberMetadata_LV.php | 6 + .../data/PhoneNumberMetadata_LY.php | 6 + .../data/PhoneNumberMetadata_MA.php | 6 + .../data/PhoneNumberMetadata_MC.php | 6 + .../data/PhoneNumberMetadata_MD.php | 6 + .../data/PhoneNumberMetadata_ME.php | 6 + .../data/PhoneNumberMetadata_MF.php | 6 + .../data/PhoneNumberMetadata_MG.php | 6 + .../data/PhoneNumberMetadata_MH.php | 6 + .../data/PhoneNumberMetadata_MK.php | 6 + .../data/PhoneNumberMetadata_ML.php | 6 + .../data/PhoneNumberMetadata_MM.php | 6 + .../data/PhoneNumberMetadata_MN.php | 6 + .../data/PhoneNumberMetadata_MO.php | 6 + .../data/PhoneNumberMetadata_MP.php | 6 + .../data/PhoneNumberMetadata_MQ.php | 6 + .../data/PhoneNumberMetadata_MR.php | 6 + .../data/PhoneNumberMetadata_MS.php | 6 + .../data/PhoneNumberMetadata_MT.php | 6 + .../data/PhoneNumberMetadata_MU.php | 6 + .../data/PhoneNumberMetadata_MV.php | 6 + .../data/PhoneNumberMetadata_MW.php | 6 + .../data/PhoneNumberMetadata_MX.php | 6 + .../data/PhoneNumberMetadata_MY.php | 6 + .../data/PhoneNumberMetadata_MZ.php | 6 + .../data/PhoneNumberMetadata_NA.php | 6 + .../data/PhoneNumberMetadata_NC.php | 6 + .../data/PhoneNumberMetadata_NE.php | 6 + .../data/PhoneNumberMetadata_NF.php | 6 + .../data/PhoneNumberMetadata_NG.php | 6 + .../data/PhoneNumberMetadata_NI.php | 6 + .../data/PhoneNumberMetadata_NL.php | 6 + .../data/PhoneNumberMetadata_NO.php | 6 + .../data/PhoneNumberMetadata_NP.php | 6 + .../data/PhoneNumberMetadata_NR.php | 6 + .../data/PhoneNumberMetadata_NU.php | 6 + .../data/PhoneNumberMetadata_NZ.php | 6 + .../data/PhoneNumberMetadata_OM.php | 6 + .../data/PhoneNumberMetadata_PA.php | 6 + .../data/PhoneNumberMetadata_PE.php | 6 + .../data/PhoneNumberMetadata_PF.php | 6 + .../data/PhoneNumberMetadata_PG.php | 6 + .../data/PhoneNumberMetadata_PH.php | 6 + .../data/PhoneNumberMetadata_PK.php | 6 + .../data/PhoneNumberMetadata_PL.php | 6 + .../data/PhoneNumberMetadata_PM.php | 6 + .../data/PhoneNumberMetadata_PR.php | 6 + .../data/PhoneNumberMetadata_PS.php | 6 + .../data/PhoneNumberMetadata_PT.php | 6 + .../data/PhoneNumberMetadata_PW.php | 6 + .../data/PhoneNumberMetadata_PY.php | 6 + .../data/PhoneNumberMetadata_QA.php | 6 + .../data/PhoneNumberMetadata_RE.php | 6 + .../data/PhoneNumberMetadata_RO.php | 6 + .../data/PhoneNumberMetadata_RS.php | 6 + .../data/PhoneNumberMetadata_RU.php | 6 + .../data/PhoneNumberMetadata_RW.php | 6 + .../data/PhoneNumberMetadata_SA.php | 6 + .../data/PhoneNumberMetadata_SB.php | 6 + .../data/PhoneNumberMetadata_SC.php | 6 + .../data/PhoneNumberMetadata_SD.php | 6 + .../data/PhoneNumberMetadata_SE.php | 6 + .../data/PhoneNumberMetadata_SG.php | 6 + .../data/PhoneNumberMetadata_SH.php | 6 + .../data/PhoneNumberMetadata_SI.php | 6 + .../data/PhoneNumberMetadata_SJ.php | 6 + .../data/PhoneNumberMetadata_SK.php | 6 + .../data/PhoneNumberMetadata_SL.php | 6 + .../data/PhoneNumberMetadata_SM.php | 6 + .../data/PhoneNumberMetadata_SN.php | 6 + .../data/PhoneNumberMetadata_SO.php | 6 + .../data/PhoneNumberMetadata_SR.php | 6 + .../data/PhoneNumberMetadata_SS.php | 6 + .../data/PhoneNumberMetadata_ST.php | 6 + .../data/PhoneNumberMetadata_SV.php | 6 + .../data/PhoneNumberMetadata_SX.php | 6 + .../data/PhoneNumberMetadata_SY.php | 6 + .../data/PhoneNumberMetadata_SZ.php | 6 + .../data/PhoneNumberMetadata_TA.php | 6 + .../data/PhoneNumberMetadata_TC.php | 6 + .../data/PhoneNumberMetadata_TD.php | 6 + .../data/PhoneNumberMetadata_TG.php | 6 + .../data/PhoneNumberMetadata_TH.php | 6 + .../data/PhoneNumberMetadata_TJ.php | 6 + .../data/PhoneNumberMetadata_TK.php | 6 + .../data/PhoneNumberMetadata_TL.php | 6 + .../data/PhoneNumberMetadata_TM.php | 6 + .../data/PhoneNumberMetadata_TN.php | 6 + .../data/PhoneNumberMetadata_TO.php | 6 + .../data/PhoneNumberMetadata_TR.php | 6 + .../data/PhoneNumberMetadata_TT.php | 6 + .../data/PhoneNumberMetadata_TV.php | 6 + .../data/PhoneNumberMetadata_TW.php | 6 + .../data/PhoneNumberMetadata_TZ.php | 6 + .../data/PhoneNumberMetadata_UA.php | 6 + .../data/PhoneNumberMetadata_UG.php | 6 + .../data/PhoneNumberMetadata_US.php | 6 + .../data/PhoneNumberMetadata_UY.php | 6 + .../data/PhoneNumberMetadata_UZ.php | 6 + .../data/PhoneNumberMetadata_VA.php | 6 + .../data/PhoneNumberMetadata_VC.php | 6 + .../data/PhoneNumberMetadata_VE.php | 6 + .../data/PhoneNumberMetadata_VG.php | 6 + .../data/PhoneNumberMetadata_VI.php | 6 + .../data/PhoneNumberMetadata_VN.php | 6 + .../data/PhoneNumberMetadata_VU.php | 6 + .../data/PhoneNumberMetadata_WF.php | 6 + .../data/PhoneNumberMetadata_WS.php | 6 + .../data/PhoneNumberMetadata_YE.php | 6 + .../data/PhoneNumberMetadata_YT.php | 6 + .../data/PhoneNumberMetadata_ZA.php | 6 + .../data/PhoneNumberMetadata_ZM.php | 6 + .../data/PhoneNumberMetadata_ZW.php | 6 + .../data/ShortNumberMetadata_AC.php | 117 +++++++ .../data/ShortNumberMetadata_AD.php | 117 +++++++ .../data/ShortNumberMetadata_AE.php | 123 +++++++ .../data/ShortNumberMetadata_AF.php | 127 ++++++++ .../data/ShortNumberMetadata_AG.php | 127 ++++++++ .../data/ShortNumberMetadata_AI.php | 117 +++++++ .../data/ShortNumberMetadata_AL.php | 117 +++++++ .../data/ShortNumberMetadata_AM.php | 6 + .../data/ShortNumberMetadata_AO.php | 117 +++++++ .../data/ShortNumberMetadata_AR.php | 6 + .../data/ShortNumberMetadata_AS.php | 117 +++++++ .../data/ShortNumberMetadata_AT.php | 129 ++++++++ .../data/ShortNumberMetadata_AU.php | 123 +++++++ .../data/ShortNumberMetadata_AW.php | 123 +++++++ .../data/ShortNumberMetadata_AX.php | 117 +++++++ .../data/ShortNumberMetadata_AZ.php | 127 ++++++++ .../data/ShortNumberMetadata_BA.php | 117 +++++++ .../data/ShortNumberMetadata_BB.php | 117 +++++++ .../data/ShortNumberMetadata_BD.php | 6 + .../data/ShortNumberMetadata_BE.php | 127 ++++++++ .../data/ShortNumberMetadata_BF.php | 117 +++++++ .../data/ShortNumberMetadata_BG.php | 129 ++++++++ .../data/ShortNumberMetadata_BH.php | 117 +++++++ .../data/ShortNumberMetadata_BI.php | 117 +++++++ .../data/ShortNumberMetadata_BJ.php | 117 +++++++ .../data/ShortNumberMetadata_BL.php | 117 +++++++ .../data/ShortNumberMetadata_BM.php | 117 +++++++ .../data/ShortNumberMetadata_BN.php | 117 +++++++ .../data/ShortNumberMetadata_BO.php | 117 +++++++ .../data/ShortNumberMetadata_BQ.php | 123 +++++++ .../data/ShortNumberMetadata_BR.php | 6 + .../data/ShortNumberMetadata_BS.php | 117 +++++++ .../data/ShortNumberMetadata_BT.php | 117 +++++++ .../data/ShortNumberMetadata_BW.php | 117 +++++++ .../data/ShortNumberMetadata_BY.php | 127 ++++++++ .../data/ShortNumberMetadata_BZ.php | 127 ++++++++ .../data/ShortNumberMetadata_CA.php | 123 +++++++ .../data/ShortNumberMetadata_CC.php | 123 +++++++ .../data/ShortNumberMetadata_CH.php | 6 + .../data/ShortNumberMetadata_CI.php | 127 ++++++++ .../data/ShortNumberMetadata_CK.php | 117 +++++++ .../data/ShortNumberMetadata_CL.php | 302 ++++++++++++++++++ .../data/ShortNumberMetadata_CM.php | 117 +++++++ .../data/ShortNumberMetadata_CN.php | 127 ++++++++ .../data/ShortNumberMetadata_CO.php | 135 ++++++++ .../data/ShortNumberMetadata_CR.php | 6 + .../data/ShortNumberMetadata_CU.php | 6 + .../data/ShortNumberMetadata_CV.php | 117 +++++++ .../data/ShortNumberMetadata_CW.php | 123 +++++++ .../data/ShortNumberMetadata_CX.php | 123 +++++++ .../data/ShortNumberMetadata_CY.php | 127 ++++++++ .../data/ShortNumberMetadata_CZ.php | 6 + .../data/ShortNumberMetadata_DE.php | 6 + .../data/ShortNumberMetadata_DJ.php | 117 +++++++ .../data/ShortNumberMetadata_DK.php | 117 +++++++ .../data/ShortNumberMetadata_DM.php | 129 ++++++++ .../data/ShortNumberMetadata_DO.php | 123 +++++++ .../data/ShortNumberMetadata_DZ.php | 117 +++++++ .../data/ShortNumberMetadata_EC.php | 129 ++++++++ .../data/ShortNumberMetadata_EE.php | 6 + .../data/ShortNumberMetadata_EG.php | 127 ++++++++ .../data/ShortNumberMetadata_EH.php | 127 ++++++++ .../data/ShortNumberMetadata_ES.php | 194 +++++++++++ .../data/ShortNumberMetadata_ET.php | 129 ++++++++ .../data/ShortNumberMetadata_FI.php | 117 +++++++ .../data/ShortNumberMetadata_FJ.php | 6 + .../data/ShortNumberMetadata_FK.php | 6 + .../data/ShortNumberMetadata_FM.php | 132 ++++++++ .../data/ShortNumberMetadata_FO.php | 6 + .../data/ShortNumberMetadata_FR.php | 6 + .../data/ShortNumberMetadata_GA.php | 129 ++++++++ .../data/ShortNumberMetadata_GB.php | 6 + .../data/ShortNumberMetadata_GD.php | 117 +++++++ .../data/ShortNumberMetadata_GE.php | 137 ++++++++ .../data/ShortNumberMetadata_GF.php | 117 +++++++ .../data/ShortNumberMetadata_GG.php | 6 + .../data/ShortNumberMetadata_GH.php | 123 +++++++ .../data/ShortNumberMetadata_GI.php | 6 + .../data/ShortNumberMetadata_GL.php | 117 +++++++ .../data/ShortNumberMetadata_GM.php | 117 +++++++ .../data/ShortNumberMetadata_GP.php | 117 +++++++ .../data/ShortNumberMetadata_GR.php | 131 ++++++++ .../data/ShortNumberMetadata_GT.php | 6 + .../data/ShortNumberMetadata_GU.php | 117 +++++++ .../data/ShortNumberMetadata_GW.php | 117 +++++++ .../data/ShortNumberMetadata_GY.php | 6 + .../data/ShortNumberMetadata_HK.php | 123 +++++++ .../data/ShortNumberMetadata_HN.php | 117 +++++++ .../data/ShortNumberMetadata_HR.php | 129 ++++++++ .../data/ShortNumberMetadata_HT.php | 6 + .../data/ShortNumberMetadata_HU.php | 127 ++++++++ .../data/ShortNumberMetadata_ID.php | 117 +++++++ .../data/ShortNumberMetadata_IE.php | 123 +++++++ .../data/ShortNumberMetadata_IL.php | 6 + .../data/ShortNumberMetadata_IM.php | 6 + .../data/ShortNumberMetadata_IN.php | 131 ++++++++ .../data/ShortNumberMetadata_IR.php | 127 ++++++++ .../data/ShortNumberMetadata_IS.php | 117 +++++++ .../data/ShortNumberMetadata_IT.php | 6 + .../data/ShortNumberMetadata_JE.php | 6 + .../data/ShortNumberMetadata_JM.php | 132 ++++++++ .../data/ShortNumberMetadata_JO.php | 6 + .../data/ShortNumberMetadata_JP.php | 117 +++++++ .../data/ShortNumberMetadata_KE.php | 6 + .../data/ShortNumberMetadata_KG.php | 117 +++++++ .../data/ShortNumberMetadata_KH.php | 123 +++++++ .../data/ShortNumberMetadata_KI.php | 6 + .../data/ShortNumberMetadata_KM.php | 117 +++++++ .../data/ShortNumberMetadata_KN.php | 129 ++++++++ .../data/ShortNumberMetadata_KR.php | 117 +++++++ .../data/ShortNumberMetadata_KW.php | 6 + .../data/ShortNumberMetadata_KY.php | 117 +++++++ .../data/ShortNumberMetadata_KZ.php | 127 ++++++++ .../data/ShortNumberMetadata_LA.php | 117 +++++++ .../data/ShortNumberMetadata_LB.php | 131 ++++++++ .../data/ShortNumberMetadata_LC.php | 127 ++++++++ .../data/ShortNumberMetadata_LI.php | 6 + .../data/ShortNumberMetadata_LK.php | 117 +++++++ .../data/ShortNumberMetadata_LR.php | 123 +++++++ .../data/ShortNumberMetadata_LS.php | 117 +++++++ .../data/ShortNumberMetadata_LT.php | 137 ++++++++ .../data/ShortNumberMetadata_LU.php | 6 + .../data/ShortNumberMetadata_LV.php | 123 +++++++ .../data/ShortNumberMetadata_LY.php | 117 +++++++ .../data/ShortNumberMetadata_MA.php | 127 ++++++++ .../data/ShortNumberMetadata_MC.php | 127 ++++++++ .../data/ShortNumberMetadata_MD.php | 6 + .../data/ShortNumberMetadata_ME.php | 6 + .../data/ShortNumberMetadata_MF.php | 117 +++++++ .../data/ShortNumberMetadata_MG.php | 117 +++++++ .../data/ShortNumberMetadata_MH.php | 117 +++++++ .../data/ShortNumberMetadata_MK.php | 127 ++++++++ .../data/ShortNumberMetadata_ML.php | 211 ++++++++++++ .../data/ShortNumberMetadata_MM.php | 117 +++++++ .../data/ShortNumberMetadata_MN.php | 117 +++++++ .../data/ShortNumberMetadata_MO.php | 117 +++++++ .../data/ShortNumberMetadata_MP.php | 117 +++++++ .../data/ShortNumberMetadata_MQ.php | 127 ++++++++ .../data/ShortNumberMetadata_MR.php | 117 +++++++ .../data/ShortNumberMetadata_MS.php | 127 ++++++++ .../data/ShortNumberMetadata_MT.php | 117 +++++++ .../data/ShortNumberMetadata_MU.php | 6 + .../data/ShortNumberMetadata_MV.php | 6 + .../data/ShortNumberMetadata_MW.php | 123 +++++++ .../data/ShortNumberMetadata_MX.php | 136 ++++++++ .../data/ShortNumberMetadata_MY.php | 123 +++++++ .../data/ShortNumberMetadata_MZ.php | 6 + .../data/ShortNumberMetadata_NA.php | 6 + .../data/ShortNumberMetadata_NC.php | 6 + .../data/ShortNumberMetadata_NF.php | 129 ++++++++ .../data/ShortNumberMetadata_NG.php | 117 +++++++ .../data/ShortNumberMetadata_NI.php | 117 +++++++ .../data/ShortNumberMetadata_NL.php | 6 + .../data/ShortNumberMetadata_NO.php | 117 +++++++ .../data/ShortNumberMetadata_NP.php | 127 ++++++++ .../data/ShortNumberMetadata_NR.php | 6 + .../data/ShortNumberMetadata_NU.php | 117 +++++++ .../data/ShortNumberMetadata_NZ.php | 117 +++++++ .../data/ShortNumberMetadata_OM.php | 117 +++++++ .../data/ShortNumberMetadata_PA.php | 6 + .../data/ShortNumberMetadata_PE.php | 127 ++++++++ .../data/ShortNumberMetadata_PF.php | 117 +++++++ .../data/ShortNumberMetadata_PG.php | 117 +++++++ .../data/ShortNumberMetadata_PH.php | 123 +++++++ .../data/ShortNumberMetadata_PK.php | 133 ++++++++ .../data/ShortNumberMetadata_PL.php | 123 +++++++ .../data/ShortNumberMetadata_PM.php | 117 +++++++ .../data/ShortNumberMetadata_PR.php | 117 +++++++ .../data/ShortNumberMetadata_PT.php | 117 +++++++ .../data/ShortNumberMetadata_PW.php | 117 +++++++ .../data/ShortNumberMetadata_PY.php | 6 + .../data/ShortNumberMetadata_QA.php | 6 + .../data/ShortNumberMetadata_RE.php | 127 ++++++++ .../data/ShortNumberMetadata_RO.php | 117 +++++++ .../data/ShortNumberMetadata_RS.php | 6 + .../data/ShortNumberMetadata_RU.php | 123 +++++++ .../data/ShortNumberMetadata_RW.php | 117 +++++++ .../data/ShortNumberMetadata_SA.php | 6 + .../data/ShortNumberMetadata_SB.php | 6 + .../data/ShortNumberMetadata_SC.php | 6 + .../data/ShortNumberMetadata_SD.php | 117 +++++++ .../data/ShortNumberMetadata_SE.php | 123 +++++++ .../data/ShortNumberMetadata_SG.php | 6 + .../data/ShortNumberMetadata_SH.php | 6 + .../data/ShortNumberMetadata_SI.php | 117 +++++++ .../data/ShortNumberMetadata_SJ.php | 117 +++++++ .../data/ShortNumberMetadata_SK.php | 127 ++++++++ .../data/ShortNumberMetadata_SL.php | 127 ++++++++ .../data/ShortNumberMetadata_SM.php | 117 +++++++ .../data/ShortNumberMetadata_SR.php | 6 + .../data/ShortNumberMetadata_ST.php | 117 +++++++ .../data/ShortNumberMetadata_SV.php | 117 +++++++ .../data/ShortNumberMetadata_SX.php | 117 +++++++ .../data/ShortNumberMetadata_SY.php | 117 +++++++ .../data/ShortNumberMetadata_SZ.php | 117 +++++++ .../data/ShortNumberMetadata_TC.php | 127 ++++++++ .../data/ShortNumberMetadata_TD.php | 117 +++++++ .../data/ShortNumberMetadata_TG.php | 129 ++++++++ .../data/ShortNumberMetadata_TH.php | 127 ++++++++ .../data/ShortNumberMetadata_TJ.php | 127 ++++++++ .../data/ShortNumberMetadata_TL.php | 6 + .../data/ShortNumberMetadata_TM.php | 117 +++++++ .../data/ShortNumberMetadata_TN.php | 117 +++++++ .../data/ShortNumberMetadata_TO.php | 131 ++++++++ .../data/ShortNumberMetadata_TR.php | 127 ++++++++ .../data/ShortNumberMetadata_TT.php | 117 +++++++ .../data/ShortNumberMetadata_TV.php | 117 +++++++ .../data/ShortNumberMetadata_TW.php | 117 +++++++ .../data/ShortNumberMetadata_TZ.php | 123 +++++++ .../data/ShortNumberMetadata_UA.php | 127 ++++++++ .../data/ShortNumberMetadata_UG.php | 117 +++++++ .../data/ShortNumberMetadata_US.php | 123 +++++++ .../data/ShortNumberMetadata_UY.php | 6 + .../data/ShortNumberMetadata_UZ.php | 129 ++++++++ .../data/ShortNumberMetadata_VA.php | 117 +++++++ .../data/ShortNumberMetadata_VC.php | 127 ++++++++ .../data/ShortNumberMetadata_VE.php | 129 ++++++++ .../data/ShortNumberMetadata_VG.php | 127 ++++++++ .../data/ShortNumberMetadata_VI.php | 117 +++++++ .../data/ShortNumberMetadata_VN.php | 117 +++++++ .../data/ShortNumberMetadata_VU.php | 117 +++++++ .../data/ShortNumberMetadata_WF.php | 117 +++++++ .../data/ShortNumberMetadata_WS.php | 117 +++++++ .../data/ShortNumberMetadata_YE.php | 117 +++++++ .../data/ShortNumberMetadata_YT.php | 127 ++++++++ .../data/ShortNumberMetadata_ZA.php | 133 ++++++++ .../data/ShortNumberMetadata_ZM.php | 127 ++++++++ .../data/ShortNumberMetadata_ZW.php | 127 ++++++++ 536 files changed, 25264 insertions(+), 5 deletions(-) create mode 100644 Tests/data/PhoneNumberMetadataForTesting_FR.php create mode 100644 Tests/data/PhoneNumberMetadataForTesting_GG.php create mode 100644 src/libphonenumber/data/PhoneNumberAlternateFormats_30.php create mode 100644 src/libphonenumber/data/PhoneNumberAlternateFormats_31.php create mode 100644 src/libphonenumber/data/PhoneNumberAlternateFormats_385.php create mode 100644 src/libphonenumber/data/PhoneNumberAlternateFormats_58.php create mode 100644 src/libphonenumber/data/PhoneNumberAlternateFormats_62.php create mode 100644 src/libphonenumber/data/PhoneNumberAlternateFormats_63.php create mode 100644 src/libphonenumber/data/PhoneNumberAlternateFormats_971.php create mode 100644 src/libphonenumber/data/PhoneNumberAlternateFormats_972.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AC.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AD.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AE.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AF.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AI.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AL.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AO.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AS.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AT.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AU.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AW.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AX.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_AZ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BA.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BB.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BE.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BF.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BH.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BI.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BJ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BL.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BN.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BO.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BQ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BS.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BT.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BW.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BY.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_BZ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CA.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CC.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CI.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CK.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CL.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CN.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CO.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CV.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CW.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CX.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_CY.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_DJ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_DK.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_DM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_DO.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_DZ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_EC.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_EG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_EH.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_ES.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_ET.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_FI.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_FM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GA.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GD.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GE.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GF.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GH.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GL.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GP.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GR.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GU.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_GW.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_HK.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_HN.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_HR.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_HU.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_ID.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_IE.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_IN.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_IR.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_IS.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_JM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_JP.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_KG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_KH.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_KM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_KN.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_KR.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_KY.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_KZ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_LA.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_LB.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_LC.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_LK.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_LR.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_LS.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_LT.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_LV.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_LY.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MA.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MC.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MF.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MH.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MK.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_ML.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MN.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MO.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MP.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MQ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MR.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MS.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MT.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MW.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MX.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_MY.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_NF.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_NG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_NI.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_NO.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_NP.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_NU.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_NZ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_OM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PE.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PF.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PH.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PK.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PL.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PR.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PT.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_PW.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_RE.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_RO.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_RU.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_RW.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SD.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SE.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SI.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SJ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SK.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SL.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_ST.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SV.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SX.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SY.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_SZ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TC.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TD.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TH.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TJ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TN.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TO.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TR.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TT.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TV.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TW.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_TZ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_UA.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_UG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_US.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_UZ.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_VA.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_VC.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_VE.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_VG.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_VI.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_VN.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_VU.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_WF.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_WS.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_YE.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_YT.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_ZA.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_ZM.php create mode 100644 src/libphonenumber/data/ShortNumberMetadata_ZW.php diff --git a/.gitignore b/.gitignore index 3b80e66c6..08c08cab9 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,4 @@ $RECYCLE.BIN/ Session.vim .netrwhist composer.phar - +composer.lock diff --git a/Tests/data/PhoneNumberMetadataForTesting_800.php b/Tests/data/PhoneNumberMetadataForTesting_800.php index cfc80692b..d7f7f213b 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_800.php +++ b/Tests/data/PhoneNumberMetadataForTesting_800.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_979.php b/Tests/data/PhoneNumberMetadataForTesting_979.php index fbe0cf0c0..7482e0afb 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_979.php +++ b/Tests/data/PhoneNumberMetadataForTesting_979.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_AD.php b/Tests/data/PhoneNumberMetadataForTesting_AD.php index 64ebc2aba..07943a841 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_AD.php +++ b/Tests/data/PhoneNumberMetadataForTesting_AD.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_AE.php b/Tests/data/PhoneNumberMetadataForTesting_AE.php index ad62ada52..5238f241b 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_AE.php +++ b/Tests/data/PhoneNumberMetadataForTesting_AE.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_AO.php b/Tests/data/PhoneNumberMetadataForTesting_AO.php index 5e6d50284..8460a79bf 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_AO.php +++ b/Tests/data/PhoneNumberMetadataForTesting_AO.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_AR.php b/Tests/data/PhoneNumberMetadataForTesting_AR.php index e05264942..8709e9867 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_AR.php +++ b/Tests/data/PhoneNumberMetadataForTesting_AR.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_AU.php b/Tests/data/PhoneNumberMetadataForTesting_AU.php index 0b7ed8401..6b3a381fc 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_AU.php +++ b/Tests/data/PhoneNumberMetadataForTesting_AU.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_BR.php b/Tests/data/PhoneNumberMetadataForTesting_BR.php index 99424db81..8ed35591b 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_BR.php +++ b/Tests/data/PhoneNumberMetadataForTesting_BR.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_BS.php b/Tests/data/PhoneNumberMetadataForTesting_BS.php index 3ca3acb68..7d555bbc5 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_BS.php +++ b/Tests/data/PhoneNumberMetadataForTesting_BS.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_BY.php b/Tests/data/PhoneNumberMetadataForTesting_BY.php index 28541daa9..840fb6135 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_BY.php +++ b/Tests/data/PhoneNumberMetadataForTesting_BY.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_DE.php b/Tests/data/PhoneNumberMetadataForTesting_DE.php index ed16248fa..dcdabad54 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_DE.php +++ b/Tests/data/PhoneNumberMetadataForTesting_DE.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_FR.php b/Tests/data/PhoneNumberMetadataForTesting_FR.php new file mode 100644 index 000000000..b99f21107 --- /dev/null +++ b/Tests/data/PhoneNumberMetadataForTesting_FR.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'FR', + 'countryCode' => 33, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/Tests/data/PhoneNumberMetadataForTesting_GB.php b/Tests/data/PhoneNumberMetadataForTesting_GB.php index e398394da..3154672a3 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_GB.php +++ b/Tests/data/PhoneNumberMetadataForTesting_GB.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_GG.php b/Tests/data/PhoneNumberMetadataForTesting_GG.php new file mode 100644 index 000000000..23890b40c --- /dev/null +++ b/Tests/data/PhoneNumberMetadataForTesting_GG.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GG', + 'countryCode' => 44, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/Tests/data/PhoneNumberMetadataForTesting_IT.php b/Tests/data/PhoneNumberMetadataForTesting_IT.php index 2bc1003f3..c860276a9 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_IT.php +++ b/Tests/data/PhoneNumberMetadataForTesting_IT.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_JP.php b/Tests/data/PhoneNumberMetadataForTesting_JP.php index 481c81df4..31532da6a 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_JP.php +++ b/Tests/data/PhoneNumberMetadataForTesting_JP.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '[23]\\d{3}', diff --git a/Tests/data/PhoneNumberMetadataForTesting_KR.php b/Tests/data/PhoneNumberMetadataForTesting_KR.php index 76ce7618d..a5ff61925 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_KR.php +++ b/Tests/data/PhoneNumberMetadataForTesting_KR.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_MX.php b/Tests/data/PhoneNumberMetadataForTesting_MX.php index 7a911b26b..28502857d 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_MX.php +++ b/Tests/data/PhoneNumberMetadataForTesting_MX.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_NZ.php b/Tests/data/PhoneNumberMetadataForTesting_NZ.php index d84e57af1..d72c2580b 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_NZ.php +++ b/Tests/data/PhoneNumberMetadataForTesting_NZ.php @@ -92,6 +92,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_PL.php b/Tests/data/PhoneNumberMetadataForTesting_PL.php index 52ad7de3d..1a0d2cc07 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_PL.php +++ b/Tests/data/PhoneNumberMetadataForTesting_PL.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_RE.php b/Tests/data/PhoneNumberMetadataForTesting_RE.php index 1a4dc82dc..c01bac764 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_RE.php +++ b/Tests/data/PhoneNumberMetadataForTesting_RE.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_SG.php b/Tests/data/PhoneNumberMetadataForTesting_SG.php index 344b24e9d..028d0cd2c 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_SG.php +++ b/Tests/data/PhoneNumberMetadataForTesting_SG.php @@ -92,6 +92,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/Tests/data/PhoneNumberMetadataForTesting_US.php b/Tests/data/PhoneNumberMetadataForTesting_US.php index d5de08cce..b24d0e739 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_US.php +++ b/Tests/data/PhoneNumberMetadataForTesting_US.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '800\\d{7}', diff --git a/Tests/data/PhoneNumberMetadataForTesting_YT.php b/Tests/data/PhoneNumberMetadataForTesting_YT.php index 25640b738..0ba9de2e0 100644 --- a/Tests/data/PhoneNumberMetadataForTesting_YT.php +++ b/Tests/data/PhoneNumberMetadataForTesting_YT.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/build/BuildMetadataFromXml.php b/build/BuildMetadataFromXml.php index 71efcaf2b..29f56548f 100644 --- a/build/BuildMetadataFromXml.php +++ b/build/BuildMetadataFromXml.php @@ -54,6 +54,7 @@ class BuildMetadataFromXml const NO_INTERNATIONAL_DIALLING = "noInternationalDialling"; const NUMBER_FORMAT = "numberFormat"; const PAGER = "pager"; + const CARRIER_SPECIFIC = 'carrierSpecific'; const PATTERN = "pattern"; const PERSONAL_NUMBER = "personalNumber"; const POSSIBLE_NUMBER_PATTERN = "possibleNumberPattern"; @@ -368,6 +369,7 @@ private static function loadGeneralDesc(PhoneMetadata $metadata, \DOMElement $el $metadata->setUan(self::processPhoneNumberDescElement($generalDesc, $element, self::UAN)); $metadata->setEmergency(self::processPhoneNumberDescElement($generalDesc, $element, self::EMERGENCY)); $metadata->setVoicemail(self::processPhoneNumberDescElement($generalDesc, $element, self::VOICEMAIL)); + $metadata->setCarrierSpecific(self::processPhoneNumberDescElement($generalDesc, $element, self::CARRIER_SPECIFIC)); $metadata->setNoInternationalDialling( diff --git a/src/libphonenumber/NumberParseException.php b/src/libphonenumber/NumberParseException.php index 6ca763a43..f0c10550e 100644 --- a/src/libphonenumber/NumberParseException.php +++ b/src/libphonenumber/NumberParseException.php @@ -26,8 +26,8 @@ class NumberParseException extends \Exception { private $errorType; protected $message; - public function __construct($errorType, $message) { - parent::__construct($message, $errorType); + public function __construct($errorType, $message, $previous = null) { + parent::__construct($message, $errorType, $previous); $this->message = $message; $this->errorType = $errorType; } diff --git a/src/libphonenumber/PhoneNumberUtil.php b/src/libphonenumber/PhoneNumberUtil.php index efe1aa4bd..af42a0092 100644 --- a/src/libphonenumber/PhoneNumberUtil.php +++ b/src/libphonenumber/PhoneNumberUtil.php @@ -1159,7 +1159,7 @@ private function parseHelper( "Could not interpret numbers after plus-sign."); } } else { - throw new NumberParseException($e->getErrorType(), $e->getMessage()); + throw new NumberParseException($e->getErrorType(), $e->getMessage(), $e); } } if ($countryCode !== 0) { diff --git a/src/libphonenumber/ShortNumberInfo.php b/src/libphonenumber/ShortNumberInfo.php index 1854b4d61..3dd8938e6 100644 --- a/src/libphonenumber/ShortNumberInfo.php +++ b/src/libphonenumber/ShortNumberInfo.php @@ -186,7 +186,7 @@ private function matchesEmergencyNumberHelper($number, $regionCode, $allowPrefix return false; } - $metadata = $this->phoneUtil->getMetadataForRegion($regionCode); + $metadata = $this->getMetadataForRegion($regionCode); if ($metadata === null || !$metadata->hasEmergency()) { return false; } diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_30.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_30.php new file mode 100644 index 000000000..8f6d9ab41 --- /dev/null +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_30.php @@ -0,0 +1,128 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => '', + 'countryCode' => 30, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + 0 => + array ( + 'pattern' => '(\\d{3})(\\d{3})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => '21', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_31.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_31.php new file mode 100644 index 000000000..a8b3f8a16 --- /dev/null +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_31.php @@ -0,0 +1,136 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => '', + 'countryCode' => 31, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + 0 => + array ( + 'pattern' => '([1-578]\\d)(\\d{4})(\\d{3})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => ' + 1[035]| + 2[0346]| + 3[03568]| + 4[0356]| + 5[0358]| + 7| + 8[4578] + ', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_34.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_34.php index 0a49faa39..e54092f93 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_34.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_34.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_351.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_351.php index dd909d3eb..13c280fbd 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_351.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_351.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_352.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_352.php index d94fa8854..f6d74e0a6 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_352.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_352.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_359.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_359.php index 7141aeda3..f0b4cc7ea 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_359.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_359.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_372.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_372.php index 65802b643..d0965f796 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_372.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_372.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_373.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_373.php index cf8e4b3ca..bd91bff19 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_373.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_373.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_375.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_375.php index 448d4c8bc..e1e015fb3 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_375.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_375.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_380.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_380.php index 848777642..8272dc25d 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_380.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_380.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_385.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_385.php new file mode 100644 index 000000000..0aafd9027 --- /dev/null +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_385.php @@ -0,0 +1,161 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => '', + 'countryCode' => 385, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + 0 => + array ( + 'pattern' => '(1)(\\d{3})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => '1', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + 1 => + array ( + 'pattern' => '(1)(\\d{3})(\\d{2})(\\d{2})', + 'format' => '$1 $2 $3 $4', + 'leadingDigitsPatterns' => + array ( + 0 => '1', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + 2 => + array ( + 'pattern' => '(6[09])(\\d{3})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => '6[09]', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + 3 => + array ( + 'pattern' => '(\\d{2})(\\d{2})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => '[2-69]', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_43.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_43.php index d97dfe712..e384690af 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_43.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_43.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_44.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_44.php index 6a757cc23..ae2a5d52c 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_44.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_44.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_49.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_49.php index b6da90ed6..1a20e5ca3 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_49.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_49.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_55.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_55.php index 883799e48..0c19eb89e 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_55.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_55.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_58.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_58.php new file mode 100644 index 000000000..a3d112acb --- /dev/null +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_58.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => '', + 'countryCode' => 58, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + 0 => + array ( + 'pattern' => '(\\d{3})(\\d{3})(\\d{4})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_595.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_595.php index 11d38a39a..f2dfe6f4b 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_595.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_595.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_61.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_61.php index ad91973b5..3c588c4b0 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_61.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_61.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_62.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_62.php new file mode 100644 index 000000000..baa1951ca --- /dev/null +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_62.php @@ -0,0 +1,131 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => '', + 'countryCode' => 62, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + 0 => + array ( + 'pattern' => '(\\d{2})(\\d{4})(\\d{4})', + 'format' => '$1 $2', + 'leadingDigitsPatterns' => + array ( + 0 => ' + 2[124]| + [36]1 + ', + ), + 'nationalPrefixFormattingRule' => '($1)', + 'domesticCarrierCodeFormattingRule' => '', + ), + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_63.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_63.php new file mode 100644 index 000000000..3dbf91ee8 --- /dev/null +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_63.php @@ -0,0 +1,128 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => '', + 'countryCode' => 63, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + 0 => + array ( + 'pattern' => '(\\d{4})(\\d{4})', + 'format' => '$1 $2', + 'leadingDigitsPatterns' => + array ( + 0 => '2', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_7.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_7.php index 147f64fe4..00151ef89 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_7.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_7.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_81.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_81.php index 942b787d3..1b4f10341 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_81.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_81.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_855.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_855.php index 2eb0ce370..d1d6cae24 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_855.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_855.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_90.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_90.php index 17497fd85..df3278944 100644 --- a/src/libphonenumber/data/PhoneNumberAlternateFormats_90.php +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_90.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_971.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_971.php new file mode 100644 index 000000000..918b8c4dc --- /dev/null +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_971.php @@ -0,0 +1,128 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => '', + 'countryCode' => 971, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + 0 => + array ( + 'pattern' => '(5[0256])(\\d{4})(\\d{3})', + 'format' => '$1 $2 $3', + 'leadingDigitsPatterns' => + array ( + 0 => '5', + ), + 'nationalPrefixFormattingRule' => '', + 'domesticCarrierCodeFormattingRule' => '', + ), + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/PhoneNumberAlternateFormats_972.php b/src/libphonenumber/data/PhoneNumberAlternateFormats_972.php new file mode 100644 index 000000000..a4255f0ae --- /dev/null +++ b/src/libphonenumber/data/PhoneNumberAlternateFormats_972.php @@ -0,0 +1,128 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => '', + 'countryCode' => 972, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + 0 => + array ( + 'pattern' => '([2-489])(\\d{3})(\\d{2})(\\d{2})', + 'format' => '$1-$2-$3-$4', + 'leadingDigitsPatterns' => + array ( + 0 => '[2-489]', + ), + 'nationalPrefixFormattingRule' => '$1', + 'domesticCarrierCodeFormattingRule' => '', + ), + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/PhoneNumberMetadata_800.php b/src/libphonenumber/data/PhoneNumberMetadata_800.php index cfc80692b..d7f7f213b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_800.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_800.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_808.php b/src/libphonenumber/data/PhoneNumberMetadata_808.php index 3393bb9fd..963961dfc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_808.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_808.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_870.php b/src/libphonenumber/data/PhoneNumberMetadata_870.php index b27a64d91..dd9853e4f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_870.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_870.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_878.php b/src/libphonenumber/data/PhoneNumberMetadata_878.php index 313114237..89b57aea5 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_878.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_878.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_881.php b/src/libphonenumber/data/PhoneNumberMetadata_881.php index 75f4a1f59..fdd8967e3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_881.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_881.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_882.php b/src/libphonenumber/data/PhoneNumberMetadata_882.php index 9d8acdd80..c52886399 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_882.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_882.php @@ -113,6 +113,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_883.php b/src/libphonenumber/data/PhoneNumberMetadata_883.php index e914efebe..f407f5938 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_883.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_883.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_888.php b/src/libphonenumber/data/PhoneNumberMetadata_888.php index cada2163b..d8b86f75c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_888.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_888.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_979.php b/src/libphonenumber/data/PhoneNumberMetadata_979.php index 5d1dfa647..0c05e86f3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_979.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_979.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AC.php b/src/libphonenumber/data/PhoneNumberMetadata_AC.php index 91fdf8c0a..345da3412 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AC.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AD.php b/src/libphonenumber/data/PhoneNumberMetadata_AD.php index e6c683d6a..61bf6d5a6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AD.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AE.php b/src/libphonenumber/data/PhoneNumberMetadata_AE.php index 3793bc0f6..3bc105f16 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AE.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AF.php b/src/libphonenumber/data/PhoneNumberMetadata_AF.php index 9fd2d308b..94a72ff9b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AF.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AG.php b/src/libphonenumber/data/PhoneNumberMetadata_AG.php index e1abcffa0..f811caadc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AG.php @@ -121,6 +121,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AI.php b/src/libphonenumber/data/PhoneNumberMetadata_AI.php index 518d3cf89..4400f21fc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AI.php @@ -121,6 +121,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AL.php b/src/libphonenumber/data/PhoneNumberMetadata_AL.php index 782e97f70..d13ee1238 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AL.php @@ -120,6 +120,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AM.php b/src/libphonenumber/data/PhoneNumberMetadata_AM.php index a304763af..4936c115b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AM.php @@ -109,6 +109,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AO.php b/src/libphonenumber/data/PhoneNumberMetadata_AO.php index 33c82b279..47fc7ce2d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AO.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AR.php b/src/libphonenumber/data/PhoneNumberMetadata_AR.php index 566662306..1e55b6523 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AR.php @@ -196,6 +196,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '810\\d{7}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AS.php b/src/libphonenumber/data/PhoneNumberMetadata_AS.php index 67a4d9877..4b9b9cf7a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AS.php @@ -118,6 +118,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AT.php b/src/libphonenumber/data/PhoneNumberMetadata_AT.php index 47b3b9623..1753cd4d5 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AT.php @@ -170,6 +170,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AU.php b/src/libphonenumber/data/PhoneNumberMetadata_AU.php index dbf60fb31..64bd448e6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AU.php @@ -131,6 +131,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AW.php b/src/libphonenumber/data/PhoneNumberMetadata_AW.php index 427a07bd4..cd649db2b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AW.php @@ -115,6 +115,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AX.php b/src/libphonenumber/data/PhoneNumberMetadata_AX.php index dc76e8b7e..97ce89522 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AX.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AX.php @@ -116,6 +116,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_AZ.php b/src/libphonenumber/data/PhoneNumberMetadata_AZ.php index 57c6a787a..b63d0db7a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_AZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_AZ.php @@ -109,6 +109,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BA.php b/src/libphonenumber/data/PhoneNumberMetadata_BA.php index 1de965b4f..44088262b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BA.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BB.php b/src/libphonenumber/data/PhoneNumberMetadata_BB.php index c95134ccc..6d1bdb4d0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BB.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BB.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BD.php b/src/libphonenumber/data/PhoneNumberMetadata_BD.php index a4c56975b..76412ef47 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BD.php @@ -384,6 +384,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BE.php b/src/libphonenumber/data/PhoneNumberMetadata_BE.php index 2fb833f72..3ea3f1150 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BE.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BF.php b/src/libphonenumber/data/PhoneNumberMetadata_BF.php index d25a0a1c5..f75285935 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BF.php @@ -111,6 +111,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BG.php b/src/libphonenumber/data/PhoneNumberMetadata_BG.php index c50e64116..cb64d1594 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BG.php @@ -122,6 +122,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BH.php b/src/libphonenumber/data/PhoneNumberMetadata_BH.php index 58b79ca3a..6759eff76 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BH.php @@ -147,6 +147,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BI.php b/src/libphonenumber/data/PhoneNumberMetadata_BI.php index d144b6f27..5fb163c69 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BI.php @@ -99,6 +99,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BJ.php b/src/libphonenumber/data/PhoneNumberMetadata_BJ.php index cfed73f7e..64dcab54e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BJ.php @@ -104,6 +104,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BL.php b/src/libphonenumber/data/PhoneNumberMetadata_BL.php index a0976a453..286b4604d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BL.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BM.php b/src/libphonenumber/data/PhoneNumberMetadata_BM.php index 7952eaacc..91de29801 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BM.php @@ -124,6 +124,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BN.php b/src/libphonenumber/data/PhoneNumberMetadata_BN.php index 67fb91d13..4412f219c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BN.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BO.php b/src/libphonenumber/data/PhoneNumberMetadata_BO.php index df18129f0..9d86dcd72 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BO.php @@ -108,6 +108,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BQ.php b/src/libphonenumber/data/PhoneNumberMetadata_BQ.php index dccacae47..a53993424 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BQ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BQ.php @@ -107,6 +107,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BR.php b/src/libphonenumber/data/PhoneNumberMetadata_BR.php index 10a0b7fe2..f5a98996b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BR.php @@ -123,6 +123,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '[34]00\\d{5}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BS.php b/src/libphonenumber/data/PhoneNumberMetadata_BS.php index 6a0a4affe..d0eb44477 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BS.php @@ -149,6 +149,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BT.php b/src/libphonenumber/data/PhoneNumberMetadata_BT.php index 5a47780ff..26911f258 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BT.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BW.php b/src/libphonenumber/data/PhoneNumberMetadata_BW.php index 494586b0c..e20b4d3b2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BW.php @@ -127,6 +127,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BY.php b/src/libphonenumber/data/PhoneNumberMetadata_BY.php index cf63bff13..827ea1a66 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BY.php @@ -144,6 +144,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_BZ.php b/src/libphonenumber/data/PhoneNumberMetadata_BZ.php index 537456db2..78db42ad9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_BZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_BZ.php @@ -92,6 +92,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CA.php b/src/libphonenumber/data/PhoneNumberMetadata_CA.php index ed8201d3d..51541bcf8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CA.php @@ -194,6 +194,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CC.php b/src/libphonenumber/data/PhoneNumberMetadata_CC.php index c3edae2aa..5c2192a44 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CC.php @@ -108,6 +108,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CD.php b/src/libphonenumber/data/PhoneNumberMetadata_CD.php index 73ac46254..58ed8788a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CD.php @@ -105,6 +105,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CF.php b/src/libphonenumber/data/PhoneNumberMetadata_CF.php index 3f7dcd9bb..14bc00349 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CF.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CG.php b/src/libphonenumber/data/PhoneNumberMetadata_CG.php index e2451cf17..90d08fc50 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CG.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CH.php b/src/libphonenumber/data/PhoneNumberMetadata_CH.php index 8498b8b21..9c4d18e2c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CH.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CI.php b/src/libphonenumber/data/PhoneNumberMetadata_CI.php index 04306e736..e33423fe7 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CI.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CK.php b/src/libphonenumber/data/PhoneNumberMetadata_CK.php index 8e40a1512..3d77bf209 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CK.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CL.php b/src/libphonenumber/data/PhoneNumberMetadata_CL.php index 7dd8be68a..77dffb9c8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CL.php @@ -111,6 +111,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '600\\d{7,8}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CM.php b/src/libphonenumber/data/PhoneNumberMetadata_CM.php index 6f4df407d..27edcce0b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CM.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CN.php b/src/libphonenumber/data/PhoneNumberMetadata_CN.php index 91a103583..e01c125f0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CN.php @@ -215,6 +215,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CO.php b/src/libphonenumber/data/PhoneNumberMetadata_CO.php index df6ac90bf..671b29d41 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CO.php @@ -105,6 +105,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CR.php b/src/libphonenumber/data/PhoneNumberMetadata_CR.php index 5700ccdee..486091263 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CR.php @@ -117,6 +117,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CU.php b/src/libphonenumber/data/PhoneNumberMetadata_CU.php index fd287d0e6..c7868c661 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CU.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CV.php b/src/libphonenumber/data/PhoneNumberMetadata_CV.php index ffd5e9772..723d61a6a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CV.php @@ -104,6 +104,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CW.php b/src/libphonenumber/data/PhoneNumberMetadata_CW.php index 42efffa85..f21ea8b2b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CW.php @@ -116,6 +116,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CX.php b/src/libphonenumber/data/PhoneNumberMetadata_CX.php index b51c879fe..b56630c55 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CX.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CX.php @@ -108,6 +108,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CY.php b/src/libphonenumber/data/PhoneNumberMetadata_CY.php index 182a2f2f7..c2fd2ac0a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CY.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_CZ.php b/src/libphonenumber/data/PhoneNumberMetadata_CZ.php index 79bcfd730..62f36f1c2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_CZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_CZ.php @@ -122,6 +122,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DE.php b/src/libphonenumber/data/PhoneNumberMetadata_DE.php index 99709fa4a..0806ae036 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DE.php @@ -153,6 +153,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DJ.php b/src/libphonenumber/data/PhoneNumberMetadata_DJ.php index 291ec8644..09bbcaed3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DJ.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DK.php b/src/libphonenumber/data/PhoneNumberMetadata_DK.php index c6630a93a..4fb75f8a0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DK.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DM.php b/src/libphonenumber/data/PhoneNumberMetadata_DM.php index bfff3b0ce..f9008cee1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DM.php @@ -124,6 +124,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DO.php b/src/libphonenumber/data/PhoneNumberMetadata_DO.php index d4f7e0ede..e0d66cecb 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DO.php @@ -153,6 +153,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_DZ.php b/src/libphonenumber/data/PhoneNumberMetadata_DZ.php index 18e13fa46..c8f157567 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_DZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_DZ.php @@ -111,6 +111,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_EC.php b/src/libphonenumber/data/PhoneNumberMetadata_EC.php index ec2096a4a..5d7f11f2f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_EC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_EC.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_EE.php b/src/libphonenumber/data/PhoneNumberMetadata_EE.php index c77b1d233..0f915ca87 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_EE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_EE.php @@ -136,6 +136,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_EG.php b/src/libphonenumber/data/PhoneNumberMetadata_EG.php index e14c5076c..9143036f3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_EG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_EG.php @@ -133,6 +133,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_EH.php b/src/libphonenumber/data/PhoneNumberMetadata_EH.php index 1824d4aca..e11b1b538 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_EH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_EH.php @@ -97,6 +97,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ER.php b/src/libphonenumber/data/PhoneNumberMetadata_ER.php index 1750e4587..281c5f6b4 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ER.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ER.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ES.php b/src/libphonenumber/data/PhoneNumberMetadata_ES.php index 184905c6b..71e838602 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ES.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ES.php @@ -135,6 +135,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ET.php b/src/libphonenumber/data/PhoneNumberMetadata_ET.php index 53e535f4b..fa0a9771d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ET.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ET.php @@ -209,6 +209,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FI.php b/src/libphonenumber/data/PhoneNumberMetadata_FI.php index c83c736e5..2ac77c3cc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FI.php @@ -124,6 +124,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FJ.php b/src/libphonenumber/data/PhoneNumberMetadata_FJ.php index 1f8f3c9f2..74a62de76 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FJ.php @@ -104,6 +104,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FK.php b/src/libphonenumber/data/PhoneNumberMetadata_FK.php index f6638220c..6bf7c7ca7 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FK.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FM.php b/src/libphonenumber/data/PhoneNumberMetadata_FM.php index e68bece5c..f00a3f419 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FM.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FO.php b/src/libphonenumber/data/PhoneNumberMetadata_FO.php index 4fc4d58eb..bb8ffe0b2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FO.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_FR.php b/src/libphonenumber/data/PhoneNumberMetadata_FR.php index 7a37baafe..a4060250e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_FR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_FR.php @@ -105,6 +105,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '3\\d{3}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GA.php b/src/libphonenumber/data/PhoneNumberMetadata_GA.php index 679ea24a2..d98e66b7d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GA.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GB.php b/src/libphonenumber/data/PhoneNumberMetadata_GB.php index 71d8ea176..c83eee476 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GB.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GB.php @@ -388,6 +388,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GD.php b/src/libphonenumber/data/PhoneNumberMetadata_GD.php index de93b484b..46c64bc21 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GD.php @@ -139,6 +139,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GE.php b/src/libphonenumber/data/PhoneNumberMetadata_GE.php index 09bbc7342..503f6cdae 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GE.php @@ -113,6 +113,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '706\\d{6}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GF.php b/src/libphonenumber/data/PhoneNumberMetadata_GF.php index 39b97ce46..33574a29e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GF.php @@ -106,6 +106,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GG.php b/src/libphonenumber/data/PhoneNumberMetadata_GG.php index 1429d095e..cc63a6219 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GG.php @@ -136,6 +136,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GH.php b/src/libphonenumber/data/PhoneNumberMetadata_GH.php index 3debc4c92..63a3834be 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GH.php @@ -130,6 +130,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '800\\d{5}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GI.php b/src/libphonenumber/data/PhoneNumberMetadata_GI.php index 3c62d25a0..db6c0811d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GI.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GL.php b/src/libphonenumber/data/PhoneNumberMetadata_GL.php index a7dfce8c9..5fd225877 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GL.php @@ -97,6 +97,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GM.php b/src/libphonenumber/data/PhoneNumberMetadata_GM.php index efce7ca42..c7ee623a5 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GM.php @@ -117,6 +117,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GN.php b/src/libphonenumber/data/PhoneNumberMetadata_GN.php index 9071b8a28..5905e6580 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GN.php @@ -106,6 +106,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GP.php b/src/libphonenumber/data/PhoneNumberMetadata_GP.php index 6be2810da..c6224dea1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GP.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GP.php @@ -107,6 +107,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GQ.php b/src/libphonenumber/data/PhoneNumberMetadata_GQ.php index a53e2802b..345b751ba 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GQ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GQ.php @@ -102,6 +102,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GR.php b/src/libphonenumber/data/PhoneNumberMetadata_GR.php index de2e2c7fb..a51bad841 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GR.php @@ -154,6 +154,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GT.php b/src/libphonenumber/data/PhoneNumberMetadata_GT.php index 80dd84504..e021eee6e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GT.php @@ -92,6 +92,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GU.php b/src/libphonenumber/data/PhoneNumberMetadata_GU.php index 1c8cf01f8..3dfe8e64e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GU.php @@ -191,6 +191,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GW.php b/src/libphonenumber/data/PhoneNumberMetadata_GW.php index 102974003..76b198554 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GW.php @@ -103,6 +103,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_GY.php b/src/libphonenumber/data/PhoneNumberMetadata_GY.php index d6d59b37a..00ee1a646 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_GY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_GY.php @@ -114,6 +114,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HK.php b/src/libphonenumber/data/PhoneNumberMetadata_HK.php index e0f6e2477..bf938106c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HK.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HN.php b/src/libphonenumber/data/PhoneNumberMetadata_HN.php index 6e0576ac7..4ebd3670d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HN.php @@ -130,6 +130,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HR.php b/src/libphonenumber/data/PhoneNumberMetadata_HR.php index 9cbef34a1..a00e43d09 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HR.php @@ -105,6 +105,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HT.php b/src/libphonenumber/data/PhoneNumberMetadata_HT.php index 9342ca029..13a7a286c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HT.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_HU.php b/src/libphonenumber/data/PhoneNumberMetadata_HU.php index f2b2d8681..c3cb2c55f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_HU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_HU.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ID.php b/src/libphonenumber/data/PhoneNumberMetadata_ID.php index 3a9aeb746..c8f172ec3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ID.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ID.php @@ -236,6 +236,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IE.php b/src/libphonenumber/data/PhoneNumberMetadata_IE.php index a10da4d6b..34efcc02c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IE.php @@ -131,6 +131,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '18[59]0\\d{6}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IL.php b/src/libphonenumber/data/PhoneNumberMetadata_IL.php index adb5c87f2..b9f71f116 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IL.php @@ -143,6 +143,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IM.php b/src/libphonenumber/data/PhoneNumberMetadata_IM.php index c2329be52..49b30ed88 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IM.php @@ -116,6 +116,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IN.php b/src/libphonenumber/data/PhoneNumberMetadata_IN.php index 2230ed669..d0804fe24 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IN.php @@ -353,6 +353,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IO.php b/src/libphonenumber/data/PhoneNumberMetadata_IO.php index 216866667..55529213a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IO.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IQ.php b/src/libphonenumber/data/PhoneNumberMetadata_IQ.php index f6c4ce9b2..387c1eec8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IQ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IQ.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IR.php b/src/libphonenumber/data/PhoneNumberMetadata_IR.php index 28f830de1..33c4ccd1c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IR.php @@ -188,6 +188,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IS.php b/src/libphonenumber/data/PhoneNumberMetadata_IS.php index c2ebd078a..6f41a1193 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IS.php @@ -152,6 +152,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_IT.php b/src/libphonenumber/data/PhoneNumberMetadata_IT.php index 75f869f54..99b9f794b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_IT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_IT.php @@ -195,6 +195,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '848\\d{6}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_JE.php b/src/libphonenumber/data/PhoneNumberMetadata_JE.php index aa2330e2a..db4c45ee7 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_JE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_JE.php @@ -178,6 +178,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_JM.php b/src/libphonenumber/data/PhoneNumberMetadata_JM.php index ae9547592..4c4a11408 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_JM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_JM.php @@ -156,6 +156,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_JO.php b/src/libphonenumber/data/PhoneNumberMetadata_JO.php index 22920ccdb..68c9080f9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_JO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_JO.php @@ -174,6 +174,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_JP.php b/src/libphonenumber/data/PhoneNumberMetadata_JP.php index 0d81cd856..cc5f0c619 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_JP.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_JP.php @@ -155,6 +155,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KE.php b/src/libphonenumber/data/PhoneNumberMetadata_KE.php index d65477e8d..5873c7647 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KE.php @@ -115,6 +115,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KG.php b/src/libphonenumber/data/PhoneNumberMetadata_KG.php index f51aa0bcb..d555c5c58 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KG.php @@ -146,6 +146,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KH.php b/src/libphonenumber/data/PhoneNumberMetadata_KH.php index 3a659db00..e51a0cb53 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KH.php @@ -134,6 +134,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KI.php b/src/libphonenumber/data/PhoneNumberMetadata_KI.php index b60d1fe70..16c45e561 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KI.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KM.php b/src/libphonenumber/data/PhoneNumberMetadata_KM.php index a624a1026..b619f3bac 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KM.php @@ -99,6 +99,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KN.php b/src/libphonenumber/data/PhoneNumberMetadata_KN.php index 52368233d..f3e395e5a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KN.php @@ -124,6 +124,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KP.php b/src/libphonenumber/data/PhoneNumberMetadata_KP.php index c73b3d9e5..663cc810f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KP.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KP.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KR.php b/src/libphonenumber/data/PhoneNumberMetadata_KR.php index 3a32d8b78..06b0d2d2f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KR.php @@ -119,6 +119,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KW.php b/src/libphonenumber/data/PhoneNumberMetadata_KW.php index 4a5bc53fc..22ffdc1c0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KW.php @@ -127,6 +127,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KY.php b/src/libphonenumber/data/PhoneNumberMetadata_KY.php index d12d65deb..8e1cc2ac2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KY.php @@ -149,6 +149,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_KZ.php b/src/libphonenumber/data/PhoneNumberMetadata_KZ.php index 165fc5869..982b47863 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_KZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_KZ.php @@ -202,6 +202,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '751\\d{7}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LA.php b/src/libphonenumber/data/PhoneNumberMetadata_LA.php index 77d18738b..5f42d3074 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LA.php @@ -103,6 +103,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LB.php b/src/libphonenumber/data/PhoneNumberMetadata_LB.php index b7750c50e..be353ed2f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LB.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LB.php @@ -109,6 +109,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LC.php b/src/libphonenumber/data/PhoneNumberMetadata_LC.php index 908b0b73a..ac99560db 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LC.php @@ -134,6 +134,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LI.php b/src/libphonenumber/data/PhoneNumberMetadata_LI.php index 940d71ddb..0294fa16d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LI.php @@ -157,6 +157,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LK.php b/src/libphonenumber/data/PhoneNumberMetadata_LK.php index 87d76bd0f..9f11daa1e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LK.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LR.php b/src/libphonenumber/data/PhoneNumberMetadata_LR.php index 1d2bb2a0f..326398005 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LR.php @@ -104,6 +104,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LS.php b/src/libphonenumber/data/PhoneNumberMetadata_LS.php index c23219522..457900fc3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LS.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LT.php b/src/libphonenumber/data/PhoneNumberMetadata_LT.php index 94b4a00a9..04561c639 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LT.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LU.php b/src/libphonenumber/data/PhoneNumberMetadata_LU.php index e04a11185..c1d8f3e4e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LU.php @@ -151,6 +151,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LV.php b/src/libphonenumber/data/PhoneNumberMetadata_LV.php index 704bfa0f9..d07dd7098 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LV.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_LY.php b/src/libphonenumber/data/PhoneNumberMetadata_LY.php index 9a05552f9..60e4817b6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_LY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_LY.php @@ -96,6 +96,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MA.php b/src/libphonenumber/data/PhoneNumberMetadata_MA.php index b1b3a2852..e4d8d70a9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MA.php @@ -125,6 +125,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MC.php b/src/libphonenumber/data/PhoneNumberMetadata_MC.php index 1965db7c2..3901c0078 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MC.php @@ -97,6 +97,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '8\\d{7}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MD.php b/src/libphonenumber/data/PhoneNumberMetadata_MD.php index 767465f5d..deee5b500 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MD.php @@ -125,6 +125,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ME.php b/src/libphonenumber/data/PhoneNumberMetadata_ME.php index b7e394b51..a0396541f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ME.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ME.php @@ -128,6 +128,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MF.php b/src/libphonenumber/data/PhoneNumberMetadata_MF.php index ddd379dd6..d2676b027 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MF.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MG.php b/src/libphonenumber/data/PhoneNumberMetadata_MG.php index 8ee1cff07..4bc6614bc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MG.php @@ -107,6 +107,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MH.php b/src/libphonenumber/data/PhoneNumberMetadata_MH.php index cbc6e5e82..2a29c211f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MH.php @@ -102,6 +102,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MK.php b/src/libphonenumber/data/PhoneNumberMetadata_MK.php index 4e1535826..bca93e231 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MK.php @@ -119,6 +119,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ML.php b/src/libphonenumber/data/PhoneNumberMetadata_ML.php index a1636fee2..d898f0c04 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ML.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ML.php @@ -107,6 +107,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MM.php b/src/libphonenumber/data/PhoneNumberMetadata_MM.php index 1553d3e2b..74719c664 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MM.php @@ -191,6 +191,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MN.php b/src/libphonenumber/data/PhoneNumberMetadata_MN.php index 74c644cbc..4ceda2e57 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MN.php @@ -109,6 +109,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MO.php b/src/libphonenumber/data/PhoneNumberMetadata_MO.php index 0e39cecb8..d3fe05f7d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MO.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MP.php b/src/libphonenumber/data/PhoneNumberMetadata_MP.php index 20658dced..80449008b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MP.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MP.php @@ -155,6 +155,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MQ.php b/src/libphonenumber/data/PhoneNumberMetadata_MQ.php index 50eb4bf1d..8b08a4524 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MQ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MQ.php @@ -105,6 +105,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MR.php b/src/libphonenumber/data/PhoneNumberMetadata_MR.php index 4c1628ade..1844b75d9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MR.php @@ -110,6 +110,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MS.php b/src/libphonenumber/data/PhoneNumberMetadata_MS.php index e4c628b1d..c1096d9f9 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MS.php @@ -103,6 +103,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MT.php b/src/libphonenumber/data/PhoneNumberMetadata_MT.php index 7140aa0e1..344258938 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MT.php @@ -130,6 +130,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MU.php b/src/libphonenumber/data/PhoneNumberMetadata_MU.php index 400530da4..5b72af2a2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MU.php @@ -132,6 +132,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MV.php b/src/libphonenumber/data/PhoneNumberMetadata_MV.php index 58df24f6a..a51d60751 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MV.php @@ -113,6 +113,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MW.php b/src/libphonenumber/data/PhoneNumberMetadata_MW.php index 84e8b5736..e92d7b766 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MW.php @@ -108,6 +108,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MX.php b/src/libphonenumber/data/PhoneNumberMetadata_MX.php index b04d3a71a..13d46b3b4 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MX.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MX.php @@ -223,6 +223,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MY.php b/src/libphonenumber/data/PhoneNumberMetadata_MY.php index b25c6ee61..6546b07f8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MY.php @@ -104,6 +104,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_MZ.php b/src/libphonenumber/data/PhoneNumberMetadata_MZ.php index 5923f9e13..ad712398f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_MZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_MZ.php @@ -96,6 +96,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NA.php b/src/libphonenumber/data/PhoneNumberMetadata_NA.php index 3ac4a5438..667fdba1e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NA.php @@ -188,6 +188,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NC.php b/src/libphonenumber/data/PhoneNumberMetadata_NC.php index a05f2bd52..e5ed2006b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NC.php @@ -102,6 +102,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NE.php b/src/libphonenumber/data/PhoneNumberMetadata_NE.php index dc4d0ee4a..b77f0c09a 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NE.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NF.php b/src/libphonenumber/data/PhoneNumberMetadata_NF.php index 959c4f7ca..c739a28e7 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NF.php @@ -99,6 +99,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NG.php b/src/libphonenumber/data/PhoneNumberMetadata_NG.php index ec73c7856..6482b4a7c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NG.php @@ -196,6 +196,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NI.php b/src/libphonenumber/data/PhoneNumberMetadata_NI.php index b550bb979..7f63bc0db 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NI.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NL.php b/src/libphonenumber/data/PhoneNumberMetadata_NL.php index 2faba0599..f2053b8ab 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NL.php @@ -127,6 +127,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '14\\d{3,4}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NO.php b/src/libphonenumber/data/PhoneNumberMetadata_NO.php index 8174cbce7..d246379be 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NO.php @@ -120,6 +120,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NP.php b/src/libphonenumber/data/PhoneNumberMetadata_NP.php index abcea53e2..781958ed0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NP.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NP.php @@ -113,6 +113,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NR.php b/src/libphonenumber/data/PhoneNumberMetadata_NR.php index ebecb9494..c2d6a4fc3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NR.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NU.php b/src/libphonenumber/data/PhoneNumberMetadata_NU.php index 53fe440f2..4ca1ead83 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NU.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_NZ.php b/src/libphonenumber/data/PhoneNumberMetadata_NZ.php index 6eba39049..ab8ee38d1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_NZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_NZ.php @@ -113,6 +113,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_OM.php b/src/libphonenumber/data/PhoneNumberMetadata_OM.php index 62daafac9..796903410 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_OM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_OM.php @@ -99,6 +99,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PA.php b/src/libphonenumber/data/PhoneNumberMetadata_PA.php index f66d66b97..1dbe38429 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PA.php @@ -189,6 +189,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PE.php b/src/libphonenumber/data/PhoneNumberMetadata_PE.php index 76faa8b94..b295f9d33 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PE.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PF.php b/src/libphonenumber/data/PhoneNumberMetadata_PF.php index 62b86e9d3..1cb4baf38 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PF.php @@ -107,6 +107,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '44\\d{4}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PG.php b/src/libphonenumber/data/PhoneNumberMetadata_PG.php index 4b9f67d54..510ce0d9c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PG.php @@ -106,6 +106,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PH.php b/src/libphonenumber/data/PhoneNumberMetadata_PH.php index 81c1b2ee3..f23464bd4 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PH.php @@ -121,6 +121,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PK.php b/src/libphonenumber/data/PhoneNumberMetadata_PK.php index 7eb9056b1..4987614a5 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PK.php @@ -189,6 +189,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PL.php b/src/libphonenumber/data/PhoneNumberMetadata_PL.php index aad767a36..c163d74fd 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PL.php @@ -116,6 +116,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PM.php b/src/libphonenumber/data/PhoneNumberMetadata_PM.php index 9ef3a6a74..3e63141a5 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PM.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PR.php b/src/libphonenumber/data/PhoneNumberMetadata_PR.php index 0038ff302..457a918df 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PR.php @@ -113,6 +113,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PS.php b/src/libphonenumber/data/PhoneNumberMetadata_PS.php index 16cee5e01..cdf6d6c6f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PS.php @@ -107,6 +107,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PT.php b/src/libphonenumber/data/PhoneNumberMetadata_PT.php index eb4d54ac6..3eb160e2e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PT.php @@ -121,6 +121,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PW.php b/src/libphonenumber/data/PhoneNumberMetadata_PW.php index 62b8bd948..eb7892224 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PW.php @@ -120,6 +120,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_PY.php b/src/libphonenumber/data/PhoneNumberMetadata_PY.php index 9556df872..5b0371e65 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_PY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_PY.php @@ -145,6 +145,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_QA.php b/src/libphonenumber/data/PhoneNumberMetadata_QA.php index 4db846ba1..7a60f5332 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_QA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_QA.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RE.php b/src/libphonenumber/data/PhoneNumberMetadata_RE.php index 6a34f15fa..1f891351b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RE.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RO.php b/src/libphonenumber/data/PhoneNumberMetadata_RO.php index 69d7a39f2..2f21fdb48 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RO.php @@ -110,6 +110,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RS.php b/src/libphonenumber/data/PhoneNumberMetadata_RS.php index 921f9e2ee..000e8a795 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RS.php @@ -126,6 +126,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RU.php b/src/libphonenumber/data/PhoneNumberMetadata_RU.php index 08361d9e1..2ea3ed51f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RU.php @@ -116,6 +116,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_RW.php b/src/libphonenumber/data/PhoneNumberMetadata_RW.php index 5a84b14ba..424412dd8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_RW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_RW.php @@ -92,6 +92,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SA.php b/src/libphonenumber/data/PhoneNumberMetadata_SA.php index 803307043..38acd6589 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SA.php @@ -113,6 +113,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SB.php b/src/libphonenumber/data/PhoneNumberMetadata_SB.php index e71eba044..4ab830510 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SB.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SB.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SC.php b/src/libphonenumber/data/PhoneNumberMetadata_SC.php index fa793cb6f..f2ea590ea 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SC.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SD.php b/src/libphonenumber/data/PhoneNumberMetadata_SD.php index 38aa80731..fc31dc3c0 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SD.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SE.php b/src/libphonenumber/data/PhoneNumberMetadata_SE.php index aae904de2..980f7f173 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SE.php @@ -177,6 +177,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SG.php b/src/libphonenumber/data/PhoneNumberMetadata_SG.php index 071636471..1bd966c18 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SG.php @@ -97,6 +97,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SH.php b/src/libphonenumber/data/PhoneNumberMetadata_SH.php index 4c0685604..bbf9a3f0d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SH.php @@ -103,6 +103,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SI.php b/src/libphonenumber/data/PhoneNumberMetadata_SI.php index 45c312047..378821552 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SI.php @@ -115,6 +115,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SJ.php b/src/libphonenumber/data/PhoneNumberMetadata_SJ.php index 540a7f52b..a2a697120 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SJ.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SK.php b/src/libphonenumber/data/PhoneNumberMetadata_SK.php index 1aff80f88..a1dd273e8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SK.php @@ -105,6 +105,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SL.php b/src/libphonenumber/data/PhoneNumberMetadata_SL.php index 11e3a5f96..60f2ab3fc 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SL.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SM.php b/src/libphonenumber/data/PhoneNumberMetadata_SM.php index 2731fe1e9..b11421ef6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SM.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SN.php b/src/libphonenumber/data/PhoneNumberMetadata_SN.php index 76004747e..da5235f20 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SN.php @@ -126,6 +126,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SO.php b/src/libphonenumber/data/PhoneNumberMetadata_SO.php index df0427855..518bd78a4 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SO.php @@ -109,6 +109,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SR.php b/src/libphonenumber/data/PhoneNumberMetadata_SR.php index 181a6c45a..24f37741f 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SR.php @@ -102,6 +102,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SS.php b/src/libphonenumber/data/PhoneNumberMetadata_SS.php index 13227d459..c344ca397 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SS.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ST.php b/src/libphonenumber/data/PhoneNumberMetadata_ST.php index c71f18048..a7e60d67c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ST.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ST.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SV.php b/src/libphonenumber/data/PhoneNumberMetadata_SV.php index 334bc01e4..b500da09c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SV.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SX.php b/src/libphonenumber/data/PhoneNumberMetadata_SX.php index 87bcd745c..14c5eca01 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SX.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SX.php @@ -116,6 +116,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SY.php b/src/libphonenumber/data/PhoneNumberMetadata_SY.php index f3789e78c..0b8b12f4e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SY.php @@ -113,6 +113,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_SZ.php b/src/libphonenumber/data/PhoneNumberMetadata_SZ.php index 4a598b613..047955640 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_SZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_SZ.php @@ -114,6 +114,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '0800\\d{4}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TA.php b/src/libphonenumber/data/PhoneNumberMetadata_TA.php index 5cd7a2a1b..1b9eb9c80 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TA.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TC.php b/src/libphonenumber/data/PhoneNumberMetadata_TC.php index 942a177ac..5771e96ac 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TC.php @@ -123,6 +123,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TD.php b/src/libphonenumber/data/PhoneNumberMetadata_TD.php index 1d1b18b4c..829eaa341 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TD.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TD.php @@ -104,6 +104,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TG.php b/src/libphonenumber/data/PhoneNumberMetadata_TG.php index 0c70a1abc..cef9ace6e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TG.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TH.php b/src/libphonenumber/data/PhoneNumberMetadata_TH.php index f6dd6c00b..8e46241df 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TH.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TH.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '1\\d{3}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TJ.php b/src/libphonenumber/data/PhoneNumberMetadata_TJ.php index 666d4d3b5..ed6233773 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TJ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TJ.php @@ -110,6 +110,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TK.php b/src/libphonenumber/data/PhoneNumberMetadata_TK.php index e4530493b..0312e0a19 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TK.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TK.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TL.php b/src/libphonenumber/data/PhoneNumberMetadata_TL.php index 2dda7be5f..70bfb54ef 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TL.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TL.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TM.php b/src/libphonenumber/data/PhoneNumberMetadata_TM.php index bb6f413c0..8af4c07db 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TM.php @@ -115,6 +115,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TN.php b/src/libphonenumber/data/PhoneNumberMetadata_TN.php index c44b95492..e97f0cbe1 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TN.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TO.php b/src/libphonenumber/data/PhoneNumberMetadata_TO.php index 8d23e86a0..aa3e6717d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TO.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TO.php @@ -103,6 +103,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TR.php b/src/libphonenumber/data/PhoneNumberMetadata_TR.php index 7aa277cfa..47bb4d6ae 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TR.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TR.php @@ -123,6 +123,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => '444\\d{4}', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TT.php b/src/libphonenumber/data/PhoneNumberMetadata_TT.php index c03dfc5cc..b28c99f91 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TT.php @@ -141,6 +141,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TV.php b/src/libphonenumber/data/PhoneNumberMetadata_TV.php index ab69ea536..2434d82e2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TV.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TV.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TW.php b/src/libphonenumber/data/PhoneNumberMetadata_TW.php index d06d20c2f..ed1d92ae6 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TW.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_TZ.php b/src/libphonenumber/data/PhoneNumberMetadata_TZ.php index e1f28ec1f..368308f79 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_TZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_TZ.php @@ -99,6 +99,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_UA.php b/src/libphonenumber/data/PhoneNumberMetadata_UA.php index a09b8df2a..1f4811336 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_UA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_UA.php @@ -103,6 +103,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_UG.php b/src/libphonenumber/data/PhoneNumberMetadata_UG.php index a97bd553e..ef14fb0be 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_UG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_UG.php @@ -109,6 +109,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_US.php b/src/libphonenumber/data/PhoneNumberMetadata_US.php index 613ddb054..8ecd1dc3e 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_US.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_US.php @@ -279,6 +279,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_UY.php b/src/libphonenumber/data/PhoneNumberMetadata_UY.php index 8351bfe0c..888368fd3 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_UY.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_UY.php @@ -92,6 +92,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_UZ.php b/src/libphonenumber/data/PhoneNumberMetadata_UZ.php index 545ccdf76..1a1768889 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_UZ.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_UZ.php @@ -402,6 +402,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VA.php b/src/libphonenumber/data/PhoneNumberMetadata_VA.php index c28195783..c36911259 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VA.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VC.php b/src/libphonenumber/data/PhoneNumberMetadata_VC.php index 7b25a1290..fed4d958b 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VC.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VC.php @@ -134,6 +134,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VE.php b/src/libphonenumber/data/PhoneNumberMetadata_VE.php index 5f525cba9..45b3f8e9c 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VE.php @@ -105,6 +105,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VG.php b/src/libphonenumber/data/PhoneNumberMetadata_VG.php index 9e2eb0a22..0a3369f01 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VG.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VG.php @@ -135,6 +135,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VI.php b/src/libphonenumber/data/PhoneNumberMetadata_VI.php index aac3841c6..8d1d5d456 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VI.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VI.php @@ -169,6 +169,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VN.php b/src/libphonenumber/data/PhoneNumberMetadata_VN.php index d4f786ae2..80367559d 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VN.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VN.php @@ -133,6 +133,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => ' diff --git a/src/libphonenumber/data/PhoneNumberMetadata_VU.php b/src/libphonenumber/data/PhoneNumberMetadata_VU.php index 2f74d7e05..340f7ddf4 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_VU.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_VU.php @@ -110,6 +110,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_WF.php b/src/libphonenumber/data/PhoneNumberMetadata_WF.php index 7768db510..01547c1a2 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_WF.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_WF.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_WS.php b/src/libphonenumber/data/PhoneNumberMetadata_WS.php index e60411f62..a0cef8cae 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_WS.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_WS.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_YE.php b/src/libphonenumber/data/PhoneNumberMetadata_YE.php index 64ee483f0..296f89153 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_YE.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_YE.php @@ -102,6 +102,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_YT.php b/src/libphonenumber/data/PhoneNumberMetadata_YT.php index 7dc7b98e8..5eae7a378 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_YT.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_YT.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ZA.php b/src/libphonenumber/data/PhoneNumberMetadata_ZA.php index 72551233b..7af3a8170 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ZA.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ZA.php @@ -112,6 +112,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ZM.php b/src/libphonenumber/data/PhoneNumberMetadata_ZM.php index b53c62731..05c3912c8 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ZM.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ZM.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/PhoneNumberMetadata_ZW.php b/src/libphonenumber/data/PhoneNumberMetadata_ZW.php index 56ad7e486..830557563 100644 --- a/src/libphonenumber/data/PhoneNumberMetadata_ZW.php +++ b/src/libphonenumber/data/PhoneNumberMetadata_ZW.php @@ -171,6 +171,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_AC.php b/src/libphonenumber/data/ShortNumberMetadata_AC.php new file mode 100644 index 000000000..5abed6a6e --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AC.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AC', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AD.php b/src/libphonenumber/data/ShortNumberMetadata_AD.php new file mode 100644 index 000000000..cea111796 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AD.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[0268]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[0268]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AD', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AE.php b/src/libphonenumber/data/ShortNumberMetadata_AE.php new file mode 100644 index 000000000..7bde059de --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AE.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 99[789] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 99[789] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AE', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AF.php b/src/libphonenumber/data/ShortNumberMetadata_AF.php new file mode 100644 index 000000000..bb757b735 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AF.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 02| + 19 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '119', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 02| + 19 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '119', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AF', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AG.php b/src/libphonenumber/data/ShortNumberMetadata_AG.php new file mode 100644 index 000000000..3bab28083 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AG.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AI.php b/src/libphonenumber/data/ShortNumberMetadata_AI.php new file mode 100644 index 000000000..c5ef2ed80 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AI.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AI', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AL.php b/src/libphonenumber/data/ShortNumberMetadata_AL.php new file mode 100644 index 000000000..c880ddb74 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AL.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '12[789]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '129', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '12[789]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '129', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AL', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AM.php b/src/libphonenumber/data/ShortNumberMetadata_AM.php index 13672c151..fd2bf578c 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_AM.php +++ b/src/libphonenumber/data/ShortNumberMetadata_AM.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_AO.php b/src/libphonenumber/data/ShortNumberMetadata_AO.php new file mode 100644 index 000000000..d2b9fb48f --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AO.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[235]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[235]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AO', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AR.php b/src/libphonenumber/data/ShortNumberMetadata_AR.php index 6762a6919..6fc93e778 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_AR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_AR.php @@ -107,6 +107,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_AS.php b/src/libphonenumber/data/ShortNumberMetadata_AS.php new file mode 100644 index 000000000..cf794b4a9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AS.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AS', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AT.php b/src/libphonenumber/data/ShortNumberMetadata_AT.php new file mode 100644 index 000000000..cc4a4878f --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AT.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + [12]2| + 33| + 44 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + [12]2| + 33| + 44 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AT', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AU.php b/src/libphonenumber/data/ShortNumberMetadata_AU.php new file mode 100644 index 000000000..a21e6c5cc --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AU.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 000| + 112 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 000| + 112 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AU', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AW.php b/src/libphonenumber/data/ShortNumberMetadata_AW.php new file mode 100644 index 000000000..cbcd47f86 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AW.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 100| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 100| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AW', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AX.php b/src/libphonenumber/data/ShortNumberMetadata_AX.php new file mode 100644 index 000000000..9b1200b0b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AX.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AX', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_AZ.php b/src/libphonenumber/data/ShortNumberMetadata_AZ.php new file mode 100644 index 000000000..c54e97008 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_AZ.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '101', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '101', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'AZ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BA.php b/src/libphonenumber/data/ShortNumberMetadata_BA.php new file mode 100644 index 000000000..41eb1e21c --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BA.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '12[234]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '122', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '12[234]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '122', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BA', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BB.php b/src/libphonenumber/data/ShortNumberMetadata_BB.php new file mode 100644 index 000000000..87de684ed --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BB.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '[235]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[235]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[235]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '[235]11', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '211', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '[235]11', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '211', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BB', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BD.php b/src/libphonenumber/data/ShortNumberMetadata_BD.php index 8e42fe7e7..2eb1f2c86 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_BD.php +++ b/src/libphonenumber/data/ShortNumberMetadata_BD.php @@ -121,6 +121,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_BE.php b/src/libphonenumber/data/ShortNumberMetadata_BE.php new file mode 100644 index 000000000..dfce8c3e9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BE.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[01]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[01]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BE', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BF.php b/src/libphonenumber/data/ShortNumberMetadata_BF.php new file mode 100644 index 000000000..bab032d5b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BF.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BF', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BG.php b/src/libphonenumber/data/ShortNumberMetadata_BG.php new file mode 100644 index 000000000..c7cda1ef3 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BG.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 50| + 6[06] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 50| + 6[06] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BH.php b/src/libphonenumber/data/ShortNumberMetadata_BH.php new file mode 100644 index 000000000..554b10ca1 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BH.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BH', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BI.php b/src/libphonenumber/data/ShortNumberMetadata_BI.php new file mode 100644 index 000000000..895791798 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BI.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[78]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '117', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[78]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '117', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BI', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BJ.php b/src/libphonenumber/data/ShortNumberMetadata_BJ.php new file mode 100644 index 000000000..0cc146c24 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BJ.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[78]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '117', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[78]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '117', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BJ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BL.php b/src/libphonenumber/data/ShortNumberMetadata_BL.php new file mode 100644 index 000000000..de55a47ce --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BL.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '18', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '18', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '18', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '18', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BL', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BM.php b/src/libphonenumber/data/ShortNumberMetadata_BM.php new file mode 100644 index 000000000..930e9d87c --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BM.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BN.php b/src/libphonenumber/data/ShortNumberMetadata_BN.php new file mode 100644 index 000000000..3bafbdca0 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BN.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '99[135]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '991', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '99[135]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '991', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BN', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BO.php b/src/libphonenumber/data/ShortNumberMetadata_BO.php new file mode 100644 index 000000000..6ac6d2e6a --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BO.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[089]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[089]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BO', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BQ.php b/src/libphonenumber/data/ShortNumberMetadata_BQ.php new file mode 100644 index 000000000..405dcc4da --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BQ.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BQ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BR.php b/src/libphonenumber/data/ShortNumberMetadata_BR.php index e95e0ff22..74e7d77b7 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_BR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_BR.php @@ -116,6 +116,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_BS.php b/src/libphonenumber/data/ShortNumberMetadata_BS.php new file mode 100644 index 000000000..4a5db1f85 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BS.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '91[19]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '91[19]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BS', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BT.php b/src/libphonenumber/data/ShortNumberMetadata_BT.php new file mode 100644 index 000000000..549a3c225 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BT.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[023]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[023]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BT', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BW.php b/src/libphonenumber/data/ShortNumberMetadata_BW.php new file mode 100644 index 000000000..daa113fe5 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BW.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '99[789]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '99[789]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BW', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BY.php b/src/libphonenumber/data/ShortNumberMetadata_BY.php new file mode 100644 index 000000000..3b8d88537 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BY.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BY', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_BZ.php b/src/libphonenumber/data/ShortNumberMetadata_BZ.php new file mode 100644 index 000000000..eeeb27187 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_BZ.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '9\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 0| + 11 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 0| + 11 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'BZ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CA.php b/src/libphonenumber/data/ShortNumberMetadata_CA.php new file mode 100644 index 000000000..1f3fe9aa7 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CA.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CA', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CC.php b/src/libphonenumber/data/ShortNumberMetadata_CC.php new file mode 100644 index 000000000..15ee1a768 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CC.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 000| + 112 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 000| + 112 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CC', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CH.php b/src/libphonenumber/data/ShortNumberMetadata_CH.php index e9a5f38dd..497b16106 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_CH.php +++ b/src/libphonenumber/data/ShortNumberMetadata_CH.php @@ -143,6 +143,12 @@ 'PossibleNumberPattern' => '\\d{3,4}', 'ExampleNumber' => '1600', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_CI.php b/src/libphonenumber/data/ShortNumberMetadata_CI.php new file mode 100644 index 000000000..3f35d1023 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CI.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1[01]| + [78]0 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1[01]| + [78]0 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CI', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CK.php b/src/libphonenumber/data/ShortNumberMetadata_CK.php new file mode 100644 index 000000000..0cae89710 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CK.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '99[689]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '998', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '99[689]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '998', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CK', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CL.php b/src/libphonenumber/data/ShortNumberMetadata_CL.php new file mode 100644 index 000000000..7b92c139d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CL.php @@ -0,0 +1,302 @@ + + array ( + 'NationalNumberPattern' => '[1-9]\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[1-9]\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[1-9]\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => ' + 1213| + 4342 + ', + 'PossibleNumberPattern' => '\\d{4}', + 'ExampleNumber' => '4342', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 060| + 211| + 3(?: + 13| + [348]0| + 5[01] + )| + 417| + 560| + 818| + 9(?: + 19| + 80 + ) + )| + 2(?: + 0122| + 22[47]| + 323| + 777| + 882 + )| + 3(?: + 0(?: + 51| + 99 + )| + 132| + 3(?: + 29| + 77| + 90 + )| + 665 + )| + 4(?: + 142| + 243| + 3656| + 4(?: + 02| + 15| + 77 + )| + 554 + )| + 5(?: + 004| + 4154| + 5(?: + 66| + 77 + )| + 995 + )| + 6(?: + 0700| + 131| + 222| + 3(?: + 00| + 66 + )| + 500| + 699 + )| + 7878| + 8(?: + 011| + 11[28]| + 482| + 889 + )| + 9(?: + 011| + [12]00| + 330 + ) + ', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '2224', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 13[123]| + 911 + ', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '133', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 06?0| + 21[13]| + 3(?: + [02679]| + 13?| + [348]0?| + 5[01]? + )| + 4(?: + 0[02-6]| + 17| + [379] + )| + 560| + 818| + 9(?: + 19| + 80 + ) + )| + 2(?: + 0(?: + 01| + 122 + )| + 22[47]| + 323| + 777| + 882 + )| + 3(?: + 0(?: + 51| + 99 + )| + 132| + 3(?: + 29| + 37| + 77| + 90 + )| + 665 + )| + 4(?: + 142| + 243| + 3(?: + 42| + 656 + )| + 4(?: + 02| + 15| + 77 + )| + 554 + )| + 5(?: + 004| + 4154| + 5(?: + 66| + 77 + )| + 995 + )| + 6(?: + 0700| + 131| + 222| + 3(?: + 00| + 66 + )| + 500| + 699 + )| + 7878| + 8(?: + 011| + 11[28]| + 482| + 889 + )| + 9(?: + 011| + 1(?: + 1| + 00 + )| + 200| + 330 + ) + ', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '139', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => ' + 2001| + 3337 + ', + 'PossibleNumberPattern' => '\\d{4}', + 'ExampleNumber' => '3337', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CL', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CM.php b/src/libphonenumber/data/ShortNumberMetadata_CM.php new file mode 100644 index 000000000..3d4ad544e --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CM.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1?1[37]', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '113', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1?1[37]', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '113', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CN.php b/src/libphonenumber/data/ShortNumberMetadata_CN.php new file mode 100644 index 000000000..2a48c5caf --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CN.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1[09]| + 20 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '119', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1[09]| + 20 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '119', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CN', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CO.php b/src/libphonenumber/data/ShortNumberMetadata_CO.php new file mode 100644 index 000000000..5c9e347c2 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CO.php @@ -0,0 +1,135 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1[29]| + 23| + 32| + 56 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 06| + 1[2569]| + 2[357]| + 3[27]| + 4[467]| + 5[36]| + 6[45]| + 95 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CO', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CR.php b/src/libphonenumber/data/ShortNumberMetadata_CR.php index ee0cbe0be..7031fb615 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_CR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_CR.php @@ -133,6 +133,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_CU.php b/src/libphonenumber/data/ShortNumberMetadata_CU.php index f8821e5cb..8ac9f2177 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_CU.php +++ b/src/libphonenumber/data/ShortNumberMetadata_CU.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_CV.php b/src/libphonenumber/data/ShortNumberMetadata_CV.php new file mode 100644 index 000000000..3c8899628 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CV.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '13[012]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '132', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '13[012]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '132', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CV', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CW.php b/src/libphonenumber/data/ShortNumberMetadata_CW.php new file mode 100644 index 000000000..61a3e969f --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CW.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CW', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CX.php b/src/libphonenumber/data/ShortNumberMetadata_CX.php new file mode 100644 index 000000000..9c9e6d13f --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CX.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 000| + 112 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 000| + 112 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CX', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CY.php b/src/libphonenumber/data/ShortNumberMetadata_CY.php new file mode 100644 index 000000000..1f0743130 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_CY.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'CY', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_CZ.php b/src/libphonenumber/data/ShortNumberMetadata_CZ.php index 9fcfdb4bf..5a3d8db9d 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_CZ.php +++ b/src/libphonenumber/data/ShortNumberMetadata_CZ.php @@ -107,6 +107,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_DE.php b/src/libphonenumber/data/ShortNumberMetadata_DE.php index 7f0f429f1..de5a756a3 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_DE.php +++ b/src/libphonenumber/data/ShortNumberMetadata_DE.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_DJ.php b/src/libphonenumber/data/ShortNumberMetadata_DJ.php new file mode 100644 index 000000000..d4ab231c6 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_DJ.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'DJ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_DK.php b/src/libphonenumber/data/ShortNumberMetadata_DK.php new file mode 100644 index 000000000..817013324 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_DK.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'DK', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_DM.php b/src/libphonenumber/data/ShortNumberMetadata_DM.php new file mode 100644 index 000000000..3c1298ce9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_DM.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '[39]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[39]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[39]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 333| + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 333| + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'DM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_DO.php b/src/libphonenumber/data/ShortNumberMetadata_DO.php new file mode 100644 index 000000000..3039217d1 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_DO.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'DO', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_DZ.php b/src/libphonenumber/data/ShortNumberMetadata_DZ.php new file mode 100644 index 000000000..6031e1065 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_DZ.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[47]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[47]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'DZ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_EC.php b/src/libphonenumber/data/ShortNumberMetadata_EC.php new file mode 100644 index 000000000..0b5fcd25f --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_EC.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[12]| + 12 + )| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[12]| + 12 + )| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'EC', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_EE.php b/src/libphonenumber/data/ShortNumberMetadata_EE.php index b5eb94251..a27813a62 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_EE.php +++ b/src/libphonenumber/data/ShortNumberMetadata_EE.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_EG.php b/src/libphonenumber/data/ShortNumberMetadata_EG.php new file mode 100644 index 000000000..e5dbab02f --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_EG.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 2[23]| + 80 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '122', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 2[23]| + 80 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '122', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'EG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_EH.php b/src/libphonenumber/data/ShortNumberMetadata_EH.php new file mode 100644 index 000000000..4ac248fda --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_EH.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + [59]| + 77 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '15', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + [59]| + 77 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '15', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'EH', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_ES.php b/src/libphonenumber/data/ShortNumberMetadata_ES.php new file mode 100644 index 000000000..112e1905e --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_ES.php @@ -0,0 +1,194 @@ + + array ( + 'NationalNumberPattern' => '[0-379]\\d{2,5}', + 'PossibleNumberPattern' => '\\d{3,6}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[0-379]\\d{2,5}', + 'PossibleNumberPattern' => '\\d{3,6}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[0-379]\\d{2,5}', + 'PossibleNumberPattern' => '\\d{3,6}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => ' + 0(?: + 16| + 67| + 88 + )| + 1(?: + 006| + 16\\d{3}| + [3-7]\\d{2} + )| + 20\\d{4} + ', + 'PossibleNumberPattern' => '\\d{3,6}', + 'ExampleNumber' => '116111', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 18\\d{2}| + 2\\d{1,4} + )| + 2(?: + 2\\d{1,4}| + [3-9]\\d{3,4} + )| + [379]\\d{4,5} + ', + 'PossibleNumberPattern' => '\\d{3,6}', + 'ExampleNumber' => '23456', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 08[58]| + 112 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 0(?: + 1[0-26]| + 6[0-27]| + 8[058]| + 9[12] + )| + 1(?: + 0[03-57]\\d{1,3}| + 1(?: + 2| + 6(?: + 000| + 111 + )| + 8\\d{2} + )| + 2\\d{1,4}| + 3(?: + [34]| + \\d{2} + )| + 7(?: + 7| + \\d{2} + )| + [4-689]\\d{2} + )| + 2(?: + [01]\\d{4}| + 2\\d{1,4}| + [357]\\d{3}| + 80\\d{2} + )| + 3(?: + [357]\\d{3}| + )| + [79]9[57]\\d{3} + ', + 'PossibleNumberPattern' => '\\d{3,6}', + 'ExampleNumber' => '010', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => ' + 0(?: + [16][0-2]| + 80| + 9[12] + )| + 21\\d{4} + ', + 'PossibleNumberPattern' => '\\d{3,6}', + 'ExampleNumber' => '211234', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 2\\d{1,4}| + 3[34]| + 77 + )| + 22\\d{1,4} + ', + 'PossibleNumberPattern' => '\\d{3,6}', + 'ExampleNumber' => '123', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'ES', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_ET.php b/src/libphonenumber/data/ShortNumberMetadata_ET.php new file mode 100644 index 000000000..6ed2707fa --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_ET.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '9\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11?| + [23]| + 9[17] + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '991', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11?| + [23]| + 9[17] + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '991', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'ET', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_FI.php b/src/libphonenumber/data/ShortNumberMetadata_FI.php new file mode 100644 index 000000000..0e8d6b102 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_FI.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'FI', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_FJ.php b/src/libphonenumber/data/ShortNumberMetadata_FJ.php index 903ac4488..3a5ab1e37 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_FJ.php +++ b/src/libphonenumber/data/ShortNumberMetadata_FJ.php @@ -103,6 +103,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_FK.php b/src/libphonenumber/data/ShortNumberMetadata_FK.php index 17a84b911..9641c004a 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_FK.php +++ b/src/libphonenumber/data/ShortNumberMetadata_FK.php @@ -92,6 +92,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_FM.php b/src/libphonenumber/data/ShortNumberMetadata_FM.php new file mode 100644 index 000000000..9c69367c4 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_FM.php @@ -0,0 +1,132 @@ + + array ( + 'NationalNumberPattern' => ' + 3\\d{5}| + 9\\d{2} + ', + 'PossibleNumberPattern' => '\\d{3}(?:\\d{3})?', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => ' + 3\\d{5}| + 9\\d{2} + ', + 'PossibleNumberPattern' => '\\d{3}(?:\\d{3})?', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => ' + 3\\d{5}| + 9\\d{2} + ', + 'PossibleNumberPattern' => '\\d{3}(?:\\d{3})?', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 320221| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}(?:\\d{3})?', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 320221| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}(?:\\d{3})?', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'FM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_FO.php b/src/libphonenumber/data/ShortNumberMetadata_FO.php index 3dca1ba72..c76774d1c 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_FO.php +++ b/src/libphonenumber/data/ShortNumberMetadata_FO.php @@ -96,6 +96,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_FR.php b/src/libphonenumber/data/ShortNumberMetadata_FR.php index f8ea89a7d..df120e87b 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_FR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_FR.php @@ -143,6 +143,12 @@ 'PossibleNumberPattern' => '\\d{6}', 'ExampleNumber' => '118777', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_GA.php b/src/libphonenumber/data/ShortNumberMetadata_GA.php new file mode 100644 index 000000000..dff05e37a --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GA.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,3}', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,3}', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,3}', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 730| + 8| + 3\\d{2} + ) + ', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '1730', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 730| + 8| + 3\\d{2} + ) + ', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '1730', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GA', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GB.php b/src/libphonenumber/data/ShortNumberMetadata_GB.php index a35e95af2..767a005ef 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GB.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GB.php @@ -136,6 +136,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_GD.php b/src/libphonenumber/data/ShortNumberMetadata_GD.php new file mode 100644 index 000000000..c030540b5 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GD.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GD', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GE.php b/src/libphonenumber/data/ShortNumberMetadata_GE.php new file mode 100644 index 000000000..840706981 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GE.php @@ -0,0 +1,137 @@ + + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[01]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 0(?: + 11| + 22| + 33 + )| + 1(?: + 1[123]| + 22 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 0(?: + 11| + 22| + 33 + )| + 1(?: + 1[123]| + 22 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GE', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GF.php b/src/libphonenumber/data/ShortNumberMetadata_GF.php new file mode 100644 index 000000000..27275cd1e --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GF.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '15', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '15', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GF', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GG.php b/src/libphonenumber/data/ShortNumberMetadata_GG.php index 3aca773b4..45d3bc91f 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GG.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GG.php @@ -109,6 +109,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_GH.php b/src/libphonenumber/data/ShortNumberMetadata_GH.php new file mode 100644 index 000000000..4c07ff8e3 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GH.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 19[123]| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 19[123]| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GH', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GI.php b/src/libphonenumber/data/ShortNumberMetadata_GI.php index 556d1d8cb..afc55fa36 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GI.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GI.php @@ -118,6 +118,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_GL.php b/src/libphonenumber/data/ShortNumberMetadata_GL.php new file mode 100644 index 000000000..8f65cf407 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GL.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GL', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GM.php b/src/libphonenumber/data/ShortNumberMetadata_GM.php new file mode 100644 index 000000000..2e351adb7 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GM.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1?1[678]', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '117', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1?1[678]', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '117', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GP.php b/src/libphonenumber/data/ShortNumberMetadata_GP.php new file mode 100644 index 000000000..f7a62a7f4 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GP.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '18', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '18', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GP', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GR.php b/src/libphonenumber/data/ShortNumberMetadata_GR.php new file mode 100644 index 000000000..8960e2b19 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GR.php @@ -0,0 +1,131 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 00| + 12| + 66| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 00| + 12| + 66| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GR', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GT.php b/src/libphonenumber/data/ShortNumberMetadata_GT.php index d5cfc8dd2..7c866e3a1 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GT.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GT.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_GU.php b/src/libphonenumber/data/ShortNumberMetadata_GU.php new file mode 100644 index 000000000..f4bb26b58 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GU.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GU', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GW.php b/src/libphonenumber/data/ShortNumberMetadata_GW.php new file mode 100644 index 000000000..e2fb2bcdd --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_GW.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[378]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[378]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'GW', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_GY.php b/src/libphonenumber/data/ShortNumberMetadata_GY.php index f7687d974..ec00f4d57 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_GY.php +++ b/src/libphonenumber/data/ShortNumberMetadata_GY.php @@ -102,6 +102,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_HK.php b/src/libphonenumber/data/ShortNumberMetadata_HK.php new file mode 100644 index 000000000..531804400 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_HK.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 99[29] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 99[29] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'HK', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_HN.php b/src/libphonenumber/data/ShortNumberMetadata_HN.php new file mode 100644 index 000000000..fff77225d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_HN.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '199', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '199', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '199', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '199', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'HN', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_HR.php b/src/libphonenumber/data/ShortNumberMetadata_HR.php new file mode 100644 index 000000000..c4ca04a8c --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_HR.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 92 + )| + 9[34] + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 92 + )| + 9[34] + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'HR', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_HT.php b/src/libphonenumber/data/ShortNumberMetadata_HT.php index 32cb94e6e..7705453fd 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_HT.php +++ b/src/libphonenumber/data/ShortNumberMetadata_HT.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_HU.php b/src/libphonenumber/data/ShortNumberMetadata_HU.php new file mode 100644 index 000000000..63b42969b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_HU.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[457]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[457]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'HU', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_ID.php b/src/libphonenumber/data/ShortNumberMetadata_ID.php new file mode 100644 index 000000000..3cecdd1b9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_ID.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[02389]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[02389]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'ID', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_IE.php b/src/libphonenumber/data/ShortNumberMetadata_IE.php new file mode 100644 index 000000000..bfa2d66e9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_IE.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'IE', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_IL.php b/src/libphonenumber/data/ShortNumberMetadata_IL.php index 5bb899f2a..65d15e8cb 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_IL.php +++ b/src/libphonenumber/data/ShortNumberMetadata_IL.php @@ -103,6 +103,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_IM.php b/src/libphonenumber/data/ShortNumberMetadata_IM.php index b8608e806..c224cd2a0 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_IM.php +++ b/src/libphonenumber/data/ShortNumberMetadata_IM.php @@ -92,6 +92,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_IN.php b/src/libphonenumber/data/ShortNumberMetadata_IN.php new file mode 100644 index 000000000..459f7267d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_IN.php @@ -0,0 +1,131 @@ + + array ( + 'NationalNumberPattern' => '[12]\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[12]\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[12]\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[0128]| + 12| + 298 + )| + 2611 + ', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '108', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[0128]| + 12| + 298 + )| + 2611 + ', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '108', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'IN', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_IR.php b/src/libphonenumber/data/ShortNumberMetadata_IR.php new file mode 100644 index 000000000..b039b4625 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_IR.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1[025]| + 25 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1[025]| + 25 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'IR', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_IS.php b/src/libphonenumber/data/ShortNumberMetadata_IS.php new file mode 100644 index 000000000..c9df47837 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_IS.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'IS', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_IT.php b/src/libphonenumber/data/ShortNumberMetadata_IT.php index bbba2ce6f..06b358bb6 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_IT.php +++ b/src/libphonenumber/data/ShortNumberMetadata_IT.php @@ -150,6 +150,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_JE.php b/src/libphonenumber/data/ShortNumberMetadata_JE.php index 151018873..e38b23fe5 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_JE.php +++ b/src/libphonenumber/data/ShortNumberMetadata_JE.php @@ -116,6 +116,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_JM.php b/src/libphonenumber/data/ShortNumberMetadata_JM.php new file mode 100644 index 000000000..9f8bfb296 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_JM.php @@ -0,0 +1,132 @@ + + array ( + 'NationalNumberPattern' => ' + 11\\d{2}| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => ' + 11\\d{2}| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => ' + 11\\d{2}| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 11[029]| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 11[029]| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'JM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_JO.php b/src/libphonenumber/data/ShortNumberMetadata_JO.php index 33e492ddc..fc8f398c0 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_JO.php +++ b/src/libphonenumber/data/ShortNumberMetadata_JO.php @@ -102,6 +102,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_JP.php b/src/libphonenumber/data/ShortNumberMetadata_JP.php new file mode 100644 index 000000000..144ff6f71 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_JP.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[09]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[09]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'JP', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_KE.php b/src/libphonenumber/data/ShortNumberMetadata_KE.php index 47f5f729c..753222456 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_KE.php +++ b/src/libphonenumber/data/ShortNumberMetadata_KE.php @@ -103,6 +103,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_KG.php b/src/libphonenumber/data/ShortNumberMetadata_KG.php new file mode 100644 index 000000000..e09314be9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_KG.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '10[123]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '101', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '10[123]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '101', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'KG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_KH.php b/src/libphonenumber/data/ShortNumberMetadata_KH.php new file mode 100644 index 000000000..74eab805f --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_KH.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[16]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[16]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[16]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 11[789]| + 666 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '117', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 11[789]| + 666 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '117', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'KH', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_KI.php b/src/libphonenumber/data/ShortNumberMetadata_KI.php index acc08e7c1..97b572ce5 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_KI.php +++ b/src/libphonenumber/data/ShortNumberMetadata_KI.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_KM.php b/src/libphonenumber/data/ShortNumberMetadata_KM.php new file mode 100644 index 000000000..b1342ba1d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_KM.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'KM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_KN.php b/src/libphonenumber/data/ShortNumberMetadata_KN.php new file mode 100644 index 000000000..a05f62aa4 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_KN.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '[39]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[39]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[39]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 333| + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 333| + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'KN', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_KR.php b/src/libphonenumber/data/ShortNumberMetadata_KR.php new file mode 100644 index 000000000..cdb6f06b9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_KR.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[29]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[29]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'KR', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_KW.php b/src/libphonenumber/data/ShortNumberMetadata_KW.php index 75340fef4..951dda2fe 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_KW.php +++ b/src/libphonenumber/data/ShortNumberMetadata_KW.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_KY.php b/src/libphonenumber/data/ShortNumberMetadata_KY.php new file mode 100644 index 000000000..beb8c77f6 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_KY.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'KY', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_KZ.php b/src/libphonenumber/data/ShortNumberMetadata_KZ.php new file mode 100644 index 000000000..44a2fb036 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_KZ.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'KZ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_LA.php b/src/libphonenumber/data/ShortNumberMetadata_LA.php new file mode 100644 index 000000000..94670858a --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_LA.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '19[015]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '190', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '19[015]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '190', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'LA', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_LB.php b/src/libphonenumber/data/ShortNumberMetadata_LB.php new file mode 100644 index 000000000..dd5e8a488 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_LB.php @@ -0,0 +1,131 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 40| + 75 + )| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 40| + 75 + )| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'LB', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_LC.php b/src/libphonenumber/data/ShortNumberMetadata_LC.php new file mode 100644 index 000000000..ec81de720 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_LC.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'LC', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_LI.php b/src/libphonenumber/data/ShortNumberMetadata_LI.php index 07a91effb..c2f1c0ae3 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_LI.php +++ b/src/libphonenumber/data/ShortNumberMetadata_LI.php @@ -115,6 +115,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_LK.php b/src/libphonenumber/data/ShortNumberMetadata_LK.php new file mode 100644 index 000000000..7898a4b21 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_LK.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[0189]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '119', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[0189]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '119', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'LK', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_LR.php b/src/libphonenumber/data/ShortNumberMetadata_LR.php new file mode 100644 index 000000000..26cacec56 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_LR.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[39]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[39]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[39]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 355| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 355| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'LR', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_LS.php b/src/libphonenumber/data/ShortNumberMetadata_LS.php new file mode 100644 index 000000000..6af3e0c3d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_LS.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[257]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[257]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'LS', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_LT.php b/src/libphonenumber/data/ShortNumberMetadata_LT.php new file mode 100644 index 000000000..c7b010ef4 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_LT.php @@ -0,0 +1,137 @@ + + array ( + 'NationalNumberPattern' => '[01]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[01]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[01]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 0(?: + 11?| + 22?| + 33? + )| + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 0(?: + 11?| + 22?| + 33? + )| + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'LT', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_LU.php b/src/libphonenumber/data/ShortNumberMetadata_LU.php index d6ab1e16b..855aa8978 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_LU.php +++ b/src/libphonenumber/data/ShortNumberMetadata_LU.php @@ -94,6 +94,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_LV.php b/src/libphonenumber/data/ShortNumberMetadata_LV.php new file mode 100644 index 000000000..d145acd44 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_LV.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[01]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[01]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[01]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 0[123]| + 112 + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 0[123]| + 112 + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'LV', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_LY.php b/src/libphonenumber/data/ShortNumberMetadata_LY.php new file mode 100644 index 000000000..9f4a778ed --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_LY.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '19[013]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '193', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '19[013]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '193', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'LY', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MA.php b/src/libphonenumber/data/ShortNumberMetadata_MA.php new file mode 100644 index 000000000..b8a955012 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MA.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + [59]| + 77 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '15', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + [59]| + 77 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '15', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MA', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MC.php b/src/libphonenumber/data/ShortNumberMetadata_MC.php new file mode 100644 index 000000000..ecd85543d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MC.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + [578] + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + [578] + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MC', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MD.php b/src/libphonenumber/data/ShortNumberMetadata_MD.php index c910a5f5c..3db67f81c 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_MD.php +++ b/src/libphonenumber/data/ShortNumberMetadata_MD.php @@ -114,6 +114,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_ME.php b/src/libphonenumber/data/ShortNumberMetadata_ME.php index 3ab1ae1c7..a6f255dd7 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_ME.php +++ b/src/libphonenumber/data/ShortNumberMetadata_ME.php @@ -106,6 +106,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_MF.php b/src/libphonenumber/data/ShortNumberMetadata_MF.php new file mode 100644 index 000000000..1b38eefb3 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MF.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '18', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '18', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MF', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MG.php b/src/libphonenumber/data/ShortNumberMetadata_MG.php new file mode 100644 index 000000000..a67c6fef4 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MG.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11?[78]', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '117', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11?[78]', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '117', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MH.php b/src/libphonenumber/data/ShortNumberMetadata_MH.php new file mode 100644 index 000000000..adb45eab1 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MH.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MH', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MK.php b/src/libphonenumber/data/ShortNumberMetadata_MK.php new file mode 100644 index 000000000..2953a9df9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MK.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 9[234] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 9[234] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MK', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_ML.php b/src/libphonenumber/data/ShortNumberMetadata_ML.php new file mode 100644 index 000000000..45e759c85 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_ML.php @@ -0,0 +1,211 @@ + + array ( + 'NationalNumberPattern' => '[1367]\\d{1,4}', + 'PossibleNumberPattern' => '\\d{2,5}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[1367]\\d{1,4}', + 'PossibleNumberPattern' => '\\d{2,5}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[1367]\\d{1,4}', + 'PossibleNumberPattern' => '\\d{2,5}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => ' + 35200| + 67(?: + 00| + 77 + )| + 74(?: + 02| + 44 + ) + ', + 'PossibleNumberPattern' => '\\d{4,5}', + 'ExampleNumber' => '35200', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => ' + 122[13]| + 3(?: + 52(?: + 11| + 2[02]| + 3[04-6]| + 99 + )| + 7574 + ) + ', + 'PossibleNumberPattern' => '\\d{4,5}', + 'ExampleNumber' => '35211', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + [578] + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '17', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1(?: + 2| + [013-9]\\d + )| + 2(?: + 1[02-469]| + 2[13] + )| + [578] + )| + 3(?: + 5(?: + 0(?: + 35| + 57 + )| + 2(?: + 00| + 11| + 2[02]| + 3[04-6] + 5[0-25-8]| + 6[0-69]| + 7[0-47]| + 80| + 99 + ) + )| + 6(?: + 666| + 777 + )| + 7(?: + 4\\d{2}| + 5(?: + 05| + 1[59]| + 25| + 5[57]| + 7[45] + ) + ) + )| + 67(?: + 0[09]| + 59| + 77| + 8[89]| + 99 + )| + 74(?: + 0[02]| + 44| + 55 + ) + ', + 'PossibleNumberPattern' => '\\d{2,5}', + 'ExampleNumber' => '1210', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => ' + 37(?: + 433| + 575 + )| + 7400 + ', + 'PossibleNumberPattern' => '\\d{4,5}', + 'ExampleNumber' => '7400', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => ' + 3(?: + 5035| + 6\\d{3} + ) + ', + 'PossibleNumberPattern' => '\\d{5}', + 'ExampleNumber' => '35035', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'ML', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MM.php b/src/libphonenumber/data/ShortNumberMetadata_MM.php new file mode 100644 index 000000000..45fb20027 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MM.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '199', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '199', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '199', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '199', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MN.php b/src/libphonenumber/data/ShortNumberMetadata_MN.php new file mode 100644 index 000000000..c5e0d1dc9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MN.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '10[0-3]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '102', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '10[0-3]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '102', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MN', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MO.php b/src/libphonenumber/data/ShortNumberMetadata_MO.php new file mode 100644 index 000000000..4aabdf071 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MO.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MO', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MP.php b/src/libphonenumber/data/ShortNumberMetadata_MP.php new file mode 100644 index 000000000..c917153e3 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MP.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MP', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MQ.php b/src/libphonenumber/data/ShortNumberMetadata_MQ.php new file mode 100644 index 000000000..d88bfd972 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MQ.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + [578] + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '15', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + [578] + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '15', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MQ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MR.php b/src/libphonenumber/data/ShortNumberMetadata_MR.php new file mode 100644 index 000000000..f15317228 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MR.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MR', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MS.php b/src/libphonenumber/data/ShortNumberMetadata_MS.php new file mode 100644 index 000000000..f36e0380a --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MS.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MS', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MT.php b/src/libphonenumber/data/ShortNumberMetadata_MT.php new file mode 100644 index 000000000..1600d922b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MT.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MT', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MU.php b/src/libphonenumber/data/ShortNumberMetadata_MU.php index 3d603af88..e9e246214 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_MU.php +++ b/src/libphonenumber/data/ShortNumberMetadata_MU.php @@ -96,6 +96,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_MV.php b/src/libphonenumber/data/ShortNumberMetadata_MV.php index 1e223ac79..ec4202cb4 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_MV.php +++ b/src/libphonenumber/data/ShortNumberMetadata_MV.php @@ -101,6 +101,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_MW.php b/src/libphonenumber/data/ShortNumberMetadata_MW.php new file mode 100644 index 000000000..ad33bc704 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MW.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 199| + 99[789] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '997', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 199| + 99[789] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '997', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MW', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MX.php b/src/libphonenumber/data/ShortNumberMetadata_MX.php new file mode 100644 index 000000000..35794ff6f --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MX.php @@ -0,0 +1,136 @@ + + array ( + 'NationalNumberPattern' => '[0579]\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[0579]\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[0579]\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => ' + 53053| + 7766 + ', + 'PossibleNumberPattern' => '\\d{4,5}', + 'ExampleNumber' => '7766', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 0(?: + 6[0568]| + 80 + )| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '066', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 0(?: + [24589]0| + [37][01]| + 6[0568]| + 8[09] + )| + 53053| + 7766| + 911 + ', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '030', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MX', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MY.php b/src/libphonenumber/data/ShortNumberMetadata_MY.php new file mode 100644 index 000000000..e9bd4c6e2 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_MY.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'MY', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_MZ.php b/src/libphonenumber/data/ShortNumberMetadata_MZ.php index 57f1789ae..c6386da55 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_MZ.php +++ b/src/libphonenumber/data/ShortNumberMetadata_MZ.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_NA.php b/src/libphonenumber/data/ShortNumberMetadata_NA.php index 74411b364..39303b86a 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_NA.php +++ b/src/libphonenumber/data/ShortNumberMetadata_NA.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_NC.php b/src/libphonenumber/data/ShortNumberMetadata_NC.php index 81420b8ae..f1b556155 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_NC.php +++ b/src/libphonenumber/data/ShortNumberMetadata_NC.php @@ -131,6 +131,12 @@ 'PossibleNumberPattern' => '\\d{3}', 'ExampleNumber' => '567', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_NF.php b/src/libphonenumber/data/ShortNumberMetadata_NF.php new file mode 100644 index 000000000..a1ec263c3 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_NF.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 55| + 77 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 55| + 77 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'NF', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_NG.php b/src/libphonenumber/data/ShortNumberMetadata_NG.php new file mode 100644 index 000000000..542f2c0ce --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_NG.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '199', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '199', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '199', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '199', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'NG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_NI.php b/src/libphonenumber/data/ShortNumberMetadata_NI.php new file mode 100644 index 000000000..36b9e070b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_NI.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '118', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '118', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '118', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '118', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'NI', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_NL.php b/src/libphonenumber/data/ShortNumberMetadata_NL.php index 3d6b6c976..be02f9e75 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_NL.php +++ b/src/libphonenumber/data/ShortNumberMetadata_NL.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_NO.php b/src/libphonenumber/data/ShortNumberMetadata_NO.php new file mode 100644 index 000000000..b5b02dc23 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_NO.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[023]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[023]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'NO', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_NP.php b/src/libphonenumber/data/ShortNumberMetadata_NP.php new file mode 100644 index 000000000..12b113ae6 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_NP.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[0-3]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[0-3]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'NP', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_NR.php b/src/libphonenumber/data/ShortNumberMetadata_NR.php index 3fe0a6cf8..ce89be56a 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_NR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_NR.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_NU.php b/src/libphonenumber/data/ShortNumberMetadata_NU.php new file mode 100644 index 000000000..25921ec99 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_NU.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'NU', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_NZ.php b/src/libphonenumber/data/ShortNumberMetadata_NZ.php new file mode 100644 index 000000000..9a2d8361c --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_NZ.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '111', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '111', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '111', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '111', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'NZ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_OM.php b/src/libphonenumber/data/ShortNumberMetadata_OM.php new file mode 100644 index 000000000..e45d144ca --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_OM.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{3}', + 'PossibleNumberPattern' => '\\d{4}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{3}', + 'PossibleNumberPattern' => '\\d{4}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{3}', + 'PossibleNumberPattern' => '\\d{4}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '9999', + 'PossibleNumberPattern' => '\\d{4}', + 'ExampleNumber' => '9999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '9999', + 'PossibleNumberPattern' => '\\d{4}', + 'ExampleNumber' => '9999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'OM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PA.php b/src/libphonenumber/data/ShortNumberMetadata_PA.php index a95ae10fa..63174cb46 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_PA.php +++ b/src/libphonenumber/data/ShortNumberMetadata_PA.php @@ -92,6 +92,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_PE.php b/src/libphonenumber/data/ShortNumberMetadata_PE.php new file mode 100644 index 000000000..f4007046d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PE.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 05| + 1[67] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '105', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 05| + 1[67] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '105', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PE', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PF.php b/src/libphonenumber/data/ShortNumberMetadata_PF.php new file mode 100644 index 000000000..b3b059126 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PF.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '15', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '15', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PF', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PG.php b/src/libphonenumber/data/ShortNumberMetadata_PG.php new file mode 100644 index 000000000..7346b5fea --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PG.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '000', + 'PossibleNumberPattern' => '', + 'ExampleNumber' => '000', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PH.php b/src/libphonenumber/data/ShortNumberMetadata_PH.php new file mode 100644 index 000000000..3e9e76f17 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PH.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 11[27]| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '117', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 11[27]| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PH', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PK.php b/src/libphonenumber/data/ShortNumberMetadata_PK.php new file mode 100644 index 000000000..93230cd4b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PK.php @@ -0,0 +1,133 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,3}', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,3}', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,3}', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1(?: + 22?| + 5 + )| + [56] + ) + ', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1(?: + 22?| + 5 + )| + [56] + ) + ', + 'PossibleNumberPattern' => '\\d{2,4}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PK', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PL.php b/src/libphonenumber/data/ShortNumberMetadata_PL.php new file mode 100644 index 000000000..99425b1ba --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PL.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 99[789] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 99[789] + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PL', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PM.php b/src/libphonenumber/data/ShortNumberMetadata_PM.php new file mode 100644 index 000000000..333df5928 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PM.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PR.php b/src/libphonenumber/data/ShortNumberMetadata_PR.php new file mode 100644 index 000000000..d83ac24de --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PR.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PR', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PT.php b/src/libphonenumber/data/ShortNumberMetadata_PT.php new file mode 100644 index 000000000..9b7b4c4a7 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PT.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PT', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PW.php b/src/libphonenumber/data/ShortNumberMetadata_PW.php new file mode 100644 index 000000000..de9b5e4fa --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_PW.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'PW', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_PY.php b/src/libphonenumber/data/ShortNumberMetadata_PY.php index b47808041..979c96eea 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_PY.php +++ b/src/libphonenumber/data/ShortNumberMetadata_PY.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_QA.php b/src/libphonenumber/data/ShortNumberMetadata_QA.php index 1f61ead9b..7400e3fc8 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_QA.php +++ b/src/libphonenumber/data/ShortNumberMetadata_QA.php @@ -96,6 +96,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_RE.php b/src/libphonenumber/data/ShortNumberMetadata_RE.php new file mode 100644 index 000000000..7d67b330b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_RE.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + [578] + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '15', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + [578] + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '15', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'RE', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_RO.php b/src/libphonenumber/data/ShortNumberMetadata_RO.php new file mode 100644 index 000000000..0c4708950 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_RO.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'RO', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_RS.php b/src/libphonenumber/data/ShortNumberMetadata_RS.php index 584fcee6d..620eeac23 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_RS.php +++ b/src/libphonenumber/data/ShortNumberMetadata_RS.php @@ -95,6 +95,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_RU.php b/src/libphonenumber/data/ShortNumberMetadata_RU.php new file mode 100644 index 000000000..4b64a4bc0 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_RU.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[01]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[01]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[01]\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 0[123]| + 112 + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 0[123]| + 112 + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'RU', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_RW.php b/src/libphonenumber/data/ShortNumberMetadata_RW.php new file mode 100644 index 000000000..90256f51d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_RW.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'RW', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SA.php b/src/libphonenumber/data/ShortNumberMetadata_SA.php index 76f3331fb..d84bd6181 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SA.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SA.php @@ -113,6 +113,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_SB.php b/src/libphonenumber/data/ShortNumberMetadata_SB.php index 3d65051d9..8ceb33a68 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SB.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SB.php @@ -106,6 +106,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_SC.php b/src/libphonenumber/data/ShortNumberMetadata_SC.php index 31497de02..22ad57a76 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SC.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SC.php @@ -105,6 +105,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_SD.php b/src/libphonenumber/data/ShortNumberMetadata_SD.php new file mode 100644 index 000000000..0524e8eda --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SD.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SD', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SE.php b/src/libphonenumber/data/ShortNumberMetadata_SE.php new file mode 100644 index 000000000..34f359441 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SE.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 90000 + ', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 90000 + ', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SE', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SG.php b/src/libphonenumber/data/ShortNumberMetadata_SG.php index d9b47a03f..c4bb681d6 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SG.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SG.php @@ -98,6 +98,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_SH.php b/src/libphonenumber/data/ShortNumberMetadata_SH.php index c8bed8863..440a81cab 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SH.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SH.php @@ -100,6 +100,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_SI.php b/src/libphonenumber/data/ShortNumberMetadata_SI.php new file mode 100644 index 000000000..61f065d44 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SI.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[23]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[23]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SI', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SJ.php b/src/libphonenumber/data/ShortNumberMetadata_SJ.php new file mode 100644 index 000000000..7612b8c35 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SJ.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[023]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[023]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SJ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SK.php b/src/libphonenumber/data/ShortNumberMetadata_SK.php new file mode 100644 index 000000000..f3161be1c --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SK.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 5[058] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 5[058] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SK', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SL.php b/src/libphonenumber/data/ShortNumberMetadata_SL.php new file mode 100644 index 000000000..cc4981f19 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SL.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '[09]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[09]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[09]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + (?: + 01| + 99 + )9 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + (?: + 01| + 99 + )9 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SL', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SM.php b/src/libphonenumber/data/ShortNumberMetadata_SM.php new file mode 100644 index 000000000..8556531df --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SM.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[358]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[358]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SR.php b/src/libphonenumber/data/ShortNumberMetadata_SR.php index 461514741..0eefb2761 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_SR.php +++ b/src/libphonenumber/data/ShortNumberMetadata_SR.php @@ -89,6 +89,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_ST.php b/src/libphonenumber/data/ShortNumberMetadata_ST.php new file mode 100644 index 000000000..f14e48d33 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_ST.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'ST', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SV.php b/src/libphonenumber/data/ShortNumberMetadata_SV.php new file mode 100644 index 000000000..44954b239 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SV.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SV', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SX.php b/src/libphonenumber/data/ShortNumberMetadata_SX.php new file mode 100644 index 000000000..6ea632f4f --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SX.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '919', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '919', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '919', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '919', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SX', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SY.php b/src/libphonenumber/data/ShortNumberMetadata_SY.php new file mode 100644 index 000000000..abd2959e3 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SY.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[023]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[023]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SY', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_SZ.php b/src/libphonenumber/data/ShortNumberMetadata_SZ.php new file mode 100644 index 000000000..d7ae1f424 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_SZ.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'SZ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TC.php b/src/libphonenumber/data/ShortNumberMetadata_TC.php new file mode 100644 index 000000000..4ae51547c --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TC.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TC', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TD.php b/src/libphonenumber/data/ShortNumberMetadata_TD.php new file mode 100644 index 000000000..e5118e641 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TD.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[78]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '17', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TD', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TG.php b/src/libphonenumber/data/ShortNumberMetadata_TG.php new file mode 100644 index 000000000..2d51b5eea --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TG.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 01| + 1[78]| + 7[17] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '117', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 01| + 1[78]| + 7[17] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '117', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TH.php b/src/libphonenumber/data/ShortNumberMetadata_TH.php new file mode 100644 index 000000000..75dc4ddf8 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TH.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2,3}', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 669| + 9[19] + ) + ', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '191', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 669| + 9[19] + ) + ', + 'PossibleNumberPattern' => '\\d{3,4}', + 'ExampleNumber' => '191', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TH', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TJ.php b/src/libphonenumber/data/ShortNumberMetadata_TJ.php new file mode 100644 index 000000000..687ca17d8 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TJ.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[1-3]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[1-3]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TJ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TL.php b/src/libphonenumber/data/ShortNumberMetadata_TL.php index f62aeadef..b195bb802 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_TL.php +++ b/src/libphonenumber/data/ShortNumberMetadata_TL.php @@ -97,6 +97,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_TM.php b/src/libphonenumber/data/ShortNumberMetadata_TM.php new file mode 100644 index 000000000..806ea7cf6 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TM.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '0\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '0\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '0\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '0[1-3]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '03', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '0[1-3]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '03', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TN.php b/src/libphonenumber/data/ShortNumberMetadata_TN.php new file mode 100644 index 000000000..c43af8822 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TN.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '19[078]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '197', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '19[078]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '197', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TN', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TO.php b/src/libphonenumber/data/ShortNumberMetadata_TO.php new file mode 100644 index 000000000..06b696146 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TO.php @@ -0,0 +1,131 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 22| + 33| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 22| + 33| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TO', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TR.php b/src/libphonenumber/data/ShortNumberMetadata_TR.php new file mode 100644 index 000000000..47dd4d701 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TR.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1[02]| + 55 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 1[02]| + 55 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TR', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TT.php b/src/libphonenumber/data/ShortNumberMetadata_TT.php new file mode 100644 index 000000000..71fe0bed9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TT.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '99[09]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '99[09]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TT', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TV.php b/src/libphonenumber/data/ShortNumberMetadata_TV.php new file mode 100644 index 000000000..f62cb20a4 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TV.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TV', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TW.php b/src/libphonenumber/data/ShortNumberMetadata_TW.php new file mode 100644 index 000000000..86c082c5d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TW.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[029]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[029]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '110', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TW', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_TZ.php b/src/libphonenumber/data/ShortNumberMetadata_TZ.php new file mode 100644 index 000000000..69e0cbe29 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_TZ.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 11[12]| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '111', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 11[12]| + 999 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '111', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'TZ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_UA.php b/src/libphonenumber/data/ShortNumberMetadata_UA.php new file mode 100644 index 000000000..9442c8677 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_UA.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 0[123]| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'UA', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_UG.php b/src/libphonenumber/data/ShortNumberMetadata_UG.php new file mode 100644 index 000000000..5de088789 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_UG.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '999', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'UG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_US.php b/src/libphonenumber/data/ShortNumberMetadata_US.php new file mode 100644 index 000000000..daa615989 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_US.php @@ -0,0 +1,123 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 112| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'US', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_UY.php b/src/libphonenumber/data/ShortNumberMetadata_UY.php index 16f48a415..c99c329ef 100644 --- a/src/libphonenumber/data/ShortNumberMetadata_UY.php +++ b/src/libphonenumber/data/ShortNumberMetadata_UY.php @@ -99,6 +99,12 @@ 'PossibleNumberPattern' => 'NA', 'ExampleNumber' => '', ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), 'noInternationalDialling' => array ( 'NationalNumberPattern' => 'NA', diff --git a/src/libphonenumber/data/ShortNumberMetadata_UZ.php b/src/libphonenumber/data/ShortNumberMetadata_UZ.php new file mode 100644 index 000000000..44980a533 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_UZ.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '0\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '0\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '0\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 0(?: + 0[123]| + [123]| + 50 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '01', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 0(?: + 0[123]| + [123]| + 50 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '01', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'UZ', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_VA.php b/src/libphonenumber/data/ShortNumberMetadata_VA.php new file mode 100644 index 000000000..16ce8aa99 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_VA.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[2358]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[2358]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'VA', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_VC.php b/src/libphonenumber/data/ShortNumberMetadata_VC.php new file mode 100644 index 000000000..a92683b96 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_VC.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'VC', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_VE.php b/src/libphonenumber/data/ShortNumberMetadata_VE.php new file mode 100644 index 000000000..c11a4ad2d --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_VE.php @@ -0,0 +1,129 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 71 + )| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '171', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 71 + )| + 911 + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '171', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'VE', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_VG.php b/src/libphonenumber/data/ShortNumberMetadata_VG.php new file mode 100644 index 000000000..2cfa64519 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_VG.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 9(?: + 11| + 99 + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'VG', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_VI.php b/src/libphonenumber/data/ShortNumberMetadata_VI.php new file mode 100644 index 000000000..746a92274 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_VI.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '911', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '911', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'VI', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_VN.php b/src/libphonenumber/data/ShortNumberMetadata_VN.php new file mode 100644 index 000000000..94288b14b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_VN.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '11[345]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '11[345]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '113', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'VN', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_VU.php b/src/libphonenumber/data/ShortNumberMetadata_VU.php new file mode 100644 index 000000000..07b6b55ac --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_VU.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '112', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'VU', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_WF.php b/src/libphonenumber/data/ShortNumberMetadata_WF.php new file mode 100644 index 000000000..1e983c504 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_WF.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '15', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '1[578]', + 'PossibleNumberPattern' => '\\d{2}', + 'ExampleNumber' => '15', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'WF', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_WS.php b/src/libphonenumber/data/ShortNumberMetadata_WS.php new file mode 100644 index 000000000..1a3461a54 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_WS.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '9\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '99[4-6]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '994', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '99[4-6]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '994', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'WS', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_YE.php b/src/libphonenumber/data/ShortNumberMetadata_YE.php new file mode 100644 index 000000000..9af2fddc8 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_YE.php @@ -0,0 +1,117 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => '19[1459]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '191', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => '19[1459]', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '191', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'YE', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_YT.php b/src/libphonenumber/data/ShortNumberMetadata_YT.php new file mode 100644 index 000000000..d689dc54b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_YT.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{1,2}', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 5 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '15', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 12| + 5 + ) + ', + 'PossibleNumberPattern' => '\\d{2,3}', + 'ExampleNumber' => '112', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'YT', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_ZA.php b/src/libphonenumber/data/ShortNumberMetadata_ZA.php new file mode 100644 index 000000000..f947d263b --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_ZA.php @@ -0,0 +1,133 @@ + + array ( + 'NationalNumberPattern' => '1\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '1\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '1\\d{2,4}', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 01(?: + 11| + 77 + )| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '10111', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + 1(?: + 01(?: + 11| + 77 + )| + 12 + ) + ', + 'PossibleNumberPattern' => '\\d{3,5}', + 'ExampleNumber' => '10111', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'ZA', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_ZM.php b/src/libphonenumber/data/ShortNumberMetadata_ZM.php new file mode 100644 index 000000000..9c64abee9 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_ZM.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + (?: + 112| + 99[139] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + (?: + 112| + 99[139] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'ZM', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file diff --git a/src/libphonenumber/data/ShortNumberMetadata_ZW.php b/src/libphonenumber/data/ShortNumberMetadata_ZW.php new file mode 100644 index 000000000..42326f225 --- /dev/null +++ b/src/libphonenumber/data/ShortNumberMetadata_ZW.php @@ -0,0 +1,127 @@ + + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'fixedLine' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'mobile' => + array ( + 'NationalNumberPattern' => '[19]\\d{2}', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '', + ), + 'tollFree' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'premiumRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'sharedCost' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'personalNumber' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'voip' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'pager' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'uan' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'emergency' => + array ( + 'NationalNumberPattern' => ' + (?: + 112| + 99[3459] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'voicemail' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'shortCode' => + array ( + 'NationalNumberPattern' => ' + (?: + 112| + 99[3459] + ) + ', + 'PossibleNumberPattern' => '\\d{3}', + 'ExampleNumber' => '999', + ), + 'standardRate' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'carrierSpecific' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'noInternationalDialling' => + array ( + 'NationalNumberPattern' => 'NA', + 'PossibleNumberPattern' => 'NA', + 'ExampleNumber' => '', + ), + 'id' => 'ZW', + 'countryCode' => 0, + 'internationalPrefix' => '', + 'sameMobileAndFixedLinePattern' => true, + 'numberFormat' => + array ( + ), + 'intlNumberFormat' => + array ( + ), + 'mainCountryForCode' => NULL, + 'leadingZeroPossible' => NULL, +); +/* EOF */ \ No newline at end of file From 4876fbe8fcc93db194d632fbdd789890f9842694 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Tue, 10 Sep 2013 18:32:14 +0100 Subject: [PATCH 4/7] Remove unit test that isn't in the Google Code --- Tests/PhoneNumberUtilTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tests/PhoneNumberUtilTest.php b/Tests/PhoneNumberUtilTest.php index d6af2a5d1..52805c35a 100644 --- a/Tests/PhoneNumberUtilTest.php +++ b/Tests/PhoneNumberUtilTest.php @@ -1391,7 +1391,7 @@ public function testCanBeInternationallyDialled() $this->assertTrue($this->phoneUtil->canBeInternationallyDialled(self::$internationalTollFree)); } - public function testParseNationalNumber() + public function testParseNationalNumber() { // National prefix attached. $this->assertEquals(self::$nzNumber, $this->phoneUtil->parse("033316005", RegionCode::NZ)); @@ -1429,10 +1429,10 @@ public function testParseNationalNumber() // parse the output we produce when formatting the number. $this->assertEquals(self::$jpStarNumber, $this->phoneUtil->parse("+81 *2345", RegionCode::JP)); - // Test national number bigger than max 32-bit signed integer - $inNumber = new PhoneNumber(); - $inNumber->setCountryCode(55)->setNationalNumber(9876543210); - $this->assertEquals($inNumber, $this->phoneUtil->parse("9876543210", RegionCode::BR)); + $shortNumber = new PhoneNumber(); + $shortNumber->setCountryCode(64)->setNationalNumber(12); + $this->assertEquals($shortNumber, $this->phoneUtil->parse("12", RegionCode::NZ)); + } public function testIsAlphaNumber() From ef65362f105bd301921a08a4e5897abe6d243484 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Tue, 10 Sep 2013 18:54:33 +0100 Subject: [PATCH 5/7] Update isNumberPossibleForDesc and isNumberMatchingDesc to use Matcher --- src/libphonenumber/PhoneNumberUtil.php | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/libphonenumber/PhoneNumberUtil.php b/src/libphonenumber/PhoneNumberUtil.php index af42a0092..d2756e23d 100644 --- a/src/libphonenumber/PhoneNumberUtil.php +++ b/src/libphonenumber/PhoneNumberUtil.php @@ -641,20 +641,15 @@ private function getNumberTypeHelper($nationalNumber, PhoneMetadata $metadata) public function isNumberPossibleForDesc($nationalNumber, PhoneNumberDesc $numberDesc) { - $possibleNumberPatternMatcher = preg_match( - '/^(' . $numberDesc->getPossibleNumberPattern() . ')$/x', - $nationalNumber - ); + $possibleNumberPatternMatcher = new Matcher($numberDesc->getPossibleNumberPattern(), $nationalNumber); - return ($possibleNumberPatternMatcher == 1) ? true : false; + return $possibleNumberPatternMatcher->matches(); } public function isNumberMatchingDesc($nationalNumber, PhoneNumberDesc $numberDesc) { - $nationalNumberPatternMatcher = preg_match( - '/^' . $numberDesc->getNationalNumberPattern() . '$/x', - $nationalNumber - ); - return $this->isNumberPossibleForDesc($nationalNumber, $numberDesc) && $nationalNumberPatternMatcher; + $nationalNumberPatternMatcher = new Matcher($numberDesc->getNationalNumberPattern(), $nationalNumber); + + return $this->isNumberPossibleForDesc($nationalNumber, $numberDesc) && $nationalNumberPatternMatcher->matches(); } /** @@ -700,6 +695,10 @@ private function getMetadataForRegionOrCallingCode($countryCallingCode, $regionC ) : $this->getMetadataForRegion($regionCode); } + /** + * @param $countryCallingCode + * @return PhoneMetadata + */ public function getMetadataForNonGeographicalRegion($countryCallingCode) { if (!isset($this->countryCallingCodeToRegionCodeMap[$countryCallingCode])) { @@ -973,7 +972,7 @@ public function formatNsnUsingPattern( * Appends the formatted extension of a phone number to formattedNumber, if the phone number had * an extension specified. */ - private function maybeAppendFormattedExtension(PhoneNumber $number, $metadata, $numberFormat, &$formattedNumber) + private function maybeAppendFormattedExtension(PhoneNumber $number, PhoneMetadata $metadata, $numberFormat, &$formattedNumber) { if ($number->hasExtension() && strlen($number->getExtension()) > 0) { if ($numberFormat == PhoneNumberFormat::RFC3966) { @@ -1903,7 +1902,7 @@ public function canBeInternationallyDialled(PhoneNumber $number) * Normalizes a string of characters representing a phone number. This strips all characters which * are not diallable on a mobile phone keypad (including all non-ASCII digits). * - * @param $number a string of characters representing a phone number + * @param string $number a string of characters representing a phone number * @return string the normalized string version of the phone number */ public static function normalizeDiallableCharsOnly($number) From b3fbd7047728ee93ccd514fc1d9e4aeb6a950c66 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Tue, 10 Sep 2013 18:58:54 +0100 Subject: [PATCH 6/7] Pass type hinting in PHPDoc instead of the function --- src/libphonenumber/PhoneNumberUtil.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/libphonenumber/PhoneNumberUtil.php b/src/libphonenumber/PhoneNumberUtil.php index d2756e23d..90f614c82 100644 --- a/src/libphonenumber/PhoneNumberUtil.php +++ b/src/libphonenumber/PhoneNumberUtil.php @@ -971,8 +971,13 @@ public function formatNsnUsingPattern( /** * Appends the formatted extension of a phone number to formattedNumber, if the phone number had * an extension specified. + * + * @param PhoneNumber $number + * @param PhoneMetadata|null $metadata + * @param $numberFormat + * @param $formattedNumber */ - private function maybeAppendFormattedExtension(PhoneNumber $number, PhoneMetadata $metadata, $numberFormat, &$formattedNumber) + private function maybeAppendFormattedExtension(PhoneNumber $number, $metadata, $numberFormat, &$formattedNumber) { if ($number->hasExtension() && strlen($number->getExtension()) > 0) { if ($numberFormat == PhoneNumberFormat::RFC3966) { From c3d788147b741a885eb04ca24005dea820edb8d9 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Tue, 10 Sep 2013 20:06:42 +0100 Subject: [PATCH 7/7] Update README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 3d2e06b40..f24319474 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,18 @@ A sister project also exists for [libphonenumber-geocoder](https://github.com/gi * getExampleNumber/getExampleNumberByType - provides valid example numbers for all countries/regions, with the option of specifying which type of example phone number is needed. * isValidNumber - full validation of a phone number for a region using length and prefix information. +## 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. + +```json +{ + "require": { + "giggsey/libphonenumber-for-php": "~5.8" + } +} +``` + ## Online Demo An [online demo](http://giggsey.com/libphonenumber/) is available for both [libphonenumber-for-php](https://github.com/giggsey/libphonenumber-for-php) and [libphonenumber-geocoder](https://github.com/giggsey/libphonenumber-geocoder).