diff --git a/METADATA-VERSION.txt b/METADATA-VERSION.txt index 566d579c..c9130f18 100644 --- a/METADATA-VERSION.txt +++ b/METADATA-VERSION.txt @@ -2,4 +2,4 @@ # It can be a commit, branch or tag of the https://github.com/google/libphonenumber project # # For more information, look at the phing tasks in build.xml -v8.13.50 +v8.13.51 diff --git a/src/AlternateFormatsCountryCodeSet.php b/src/AlternateFormatsCountryCodeSet.php index 699824f1..d6401339 100644 --- a/src/AlternateFormatsCountryCodeSet.php +++ b/src/AlternateFormatsCountryCodeSet.php @@ -1,4 +1,5 @@ 'GTA', 1671482 => 'GTA', 1671483 => 'GTA', + 1671485 => 'GTA', 1671486 => 'GTA', 1671487 => 'GTA', 1671488 => 'GTA', @@ -176,6 +178,7 @@ 167184 => 'i CAN_GSM', 167185 => 'i CAN_GSM', 1671864 => 'GTA', + 1671867 => 'GTA', 1671868 => 'Choice Phone', 167187 => 'Choice Phone', 167188 => 'Choice Phone', diff --git a/src/carrier/data/en/20.php b/src/carrier/data/en/20.php index 12115793..e797dbbb 100644 --- a/src/carrier/data/en/20.php +++ b/src/carrier/data/en/20.php @@ -1,4 +1,5 @@ 'Orange', 22172 => 'HAYO', 22175 => 'Promobile', + 2217536 => 'Orange', 221757 => 'Origines', + 2217585 => 'Orange', 22176 => 'Free', 22177 => 'Orange', 22178 => 'Orange', diff --git a/src/carrier/data/en/222.php b/src/carrier/data/en/222.php index 6881859e..4be9da1b 100644 --- a/src/carrier/data/en/222.php +++ b/src/carrier/data/en/222.php @@ -1,4 +1,5 @@ 'Togo Telecom', 22871 => 'Togo Telecom', + 22872 => 'Togo Telecom', 22879 => 'Moov', 22890 => 'Togo Telecom', 22891 => 'Togo Telecom', diff --git a/src/carrier/data/en/229.php b/src/carrier/data/en/229.php index 580658a6..3b0afeff 100644 --- a/src/carrier/data/en/229.php +++ b/src/carrier/data/en/229.php @@ -1,4 +1,5 @@ 'SFR', 26269397 => 'SFR', 26269399 => 'Orange', + 26270920 => 'SFR', + 26270921 => 'Orange', + 26270922 => 'Telco OI', + 26270923 => 'ZEOP Mobile', + 26270935 => 'SFR', + 26270936 => 'Telco OI', + 26270937 => 'Orange', ]; diff --git a/src/carrier/data/en/263.php b/src/carrier/data/en/263.php index 73eb8c88..e641e91e 100644 --- a/src/carrier/data/en/263.php +++ b/src/carrier/data/en/263.php @@ -1,4 +1,5 @@ 'Vodacom', 27574920 => 'Vodacom', 27584920 => 'Vodacom', + 27601 => 'Telkom Mobile', + 27602 => 'Telkom Mobile', 27603 => 'MTN', 27604 => 'MTN', 27605 => 'MTN', @@ -97,14 +100,10 @@ 27663 => 'Vodacom', 27664 => 'Vodacom', 27665 => 'Vodacom', - 27670 => 'Telkom Mobile', - 27671 => 'Telkom Mobile', - 27672 => 'Telkom Mobile', + 2767 => 'Telkom Mobile', 27673 => 'Vodacom', 27674 => 'Vodacom', 27675 => 'Vodacom', - 27676 => 'Telkom Mobile', - 27677 => 'Telkom Mobile', 2768 => 'Telkom Mobile', 27686 => 'MTN', 27687 => 'MTN', diff --git a/src/carrier/data/en/290.php b/src/carrier/data/en/290.php index 239f0a54..0632581e 100644 --- a/src/carrier/data/en/290.php +++ b/src/carrier/data/en/290.php @@ -1,4 +1,5 @@ 'Movistar', 346213 => 'Republica Movil', 346214 => 'Republica Movil', - 346215 => 'Republica Movil', + 346215 => 'Aire Networks', 346216 => 'Republica Movil', 34622 => 'Yoigo', 346230 => 'Yoigo', @@ -185,6 +186,7 @@ 3468448 => 'Nethits', 346845 => 'Movistar', 346846 => 'Telecable', + 346848 => 'Euskaltel', 34685 => 'Orange', 3468529 => 'Carrefour', 34686 => 'Movistar', diff --git a/src/carrier/data/en/350.php b/src/carrier/data/en/350.php index d549c2c1..d3aad773 100644 --- a/src/carrier/data/en/350.php +++ b/src/carrier/data/en/350.php @@ -1,4 +1,5 @@ 'MEO', 3519280 => 'NOWO', 3519281 => 'NOWO', + 3519282 => 'Digi Communications', 3519285 => 'ONITELECOM', 3519290 => 'NOS', 3519291 => 'NOS', diff --git a/src/carrier/data/en/352.php b/src/carrier/data/en/352.php index 4dbf8a74..f3aa6923 100644 --- a/src/carrier/data/en/352.php +++ b/src/carrier/data/en/352.php @@ -1,4 +1,5 @@ 'Keyyo', 50855 => 'SPM Telecom', 50856 => 'Kav El International', + 50870856 => 'SPM Telecom', ]; diff --git a/src/carrier/data/en/509.php b/src/carrier/data/en/509.php index 3f4c06fa..c401a9a8 100644 --- a/src/carrier/data/en/509.php +++ b/src/carrier/data/en/509.php @@ -1,4 +1,5 @@ 'SFR', 59469447 => 'SFR', 5946949 => 'Digicel', + 59470930 => 'Free Caraibe', + 59470932 => 'Digicel', + 59470933 => 'Orange', ]; diff --git a/src/carrier/data/en/595.php b/src/carrier/data/en/595.php index d633c40d..fc2190ab 100644 --- a/src/carrier/data/en/595.php +++ b/src/carrier/data/en/595.php @@ -1,4 +1,5 @@ 'Digicel', 59669699 => 'Orange', 59669727 => 'Digicel', + 59670910 => 'Free Caraïbe', + 59670912 => 'Digicel', + 59670913 => 'Orange', ]; diff --git a/src/carrier/data/en/597.php b/src/carrier/data/en/597.php index e0719bdd..bac829fe 100644 --- a/src/carrier/data/en/597.php +++ b/src/carrier/data/en/597.php @@ -1,4 +1,5 @@ 'Softbank', 817010 => 'NTT Docomo', - 817020 => 'KDDI', - 817021 => 'KDDI', - 817022 => 'KDDI', - 817023 => 'KDDI', - 817024 => 'KDDI', + 81702 => 'KDDI', 8170250 => 'Softbank', 817026 => 'NTT Docomo', 817027 => 'NTT Docomo', @@ -77,6 +74,7 @@ 817064 => 'Softbank', 817065 => 'Softbank', 817066 => 'Softbank', + 817067 => 'KDDI', 8170680 => 'Softbank', 8170681 => 'Softbank', 8170682 => 'Softbank', @@ -97,15 +95,7 @@ 8170823 => 'NTT Docomo', 817083 => 'Rakuten Communications', 817084 => 'Rakuten Communications', - 8170850 => 'Rakuten Communications', - 8170851 => 'Rakuten Communications', - 8170852 => 'Rakuten Communications', - 8170853 => 'Rakuten Communications', - 8170854 => 'Rakuten Communications', - 8170855 => 'Rakuten Communications', - 8170856 => 'Rakuten Communications', - 8170857 => 'Rakuten Communications', - 8170858 => 'Rakuten Communications', + 817085 => 'Rakuten Communications', 817086 => 'KDDI', 817087 => 'KDDI', 817088 => 'KDDI', diff --git a/src/carrier/data/en/82.php b/src/carrier/data/en/82.php index e172c548..109a7136 100644 --- a/src/carrier/data/en/82.php +++ b/src/carrier/data/en/82.php @@ -1,4 +1,5 @@ 'Hutchison Telecom', 852474 => 'China Mobile', 852475 => 'Hutchison Telecom', + 852476 => 'China Mobile', 852510 => 'China Mobile', 852511 => 'HKT', 852512 => 'China Mobile', @@ -359,7 +361,9 @@ 852936 => '3', 852937 => '3', 852938 => 'SmarTone', - 852939 => 'HKT', + 852939 => 'China Mobile', + 8529390 => 'HKT', + 8529391 => 'HKT', 852940 => 'HKT', 852941 => '3', 852942 => '3', diff --git a/src/carrier/data/en/853.php b/src/carrier/data/en/853.php index 119e5e71..228f1666 100644 --- a/src/carrier/data/en/853.php +++ b/src/carrier/data/en/853.php @@ -1,4 +1,5 @@ 'Rcell', 96391 => 'Wafa Telecom', 96392 => 'Wafa Telecom', 96393 => 'Syriatel', diff --git a/src/carrier/data/en/964.php b/src/carrier/data/en/964.php index 1fdc11aa..099c6ad4 100644 --- a/src/carrier/data/en/964.php +++ b/src/carrier/data/en/964.php @@ -1,4 +1,5 @@ 'Silknet', 995501 => 'Cellfie', 995502 => 'Silknet', + 995504 => 'Cellfie', 9955050 => 'Silknet', 9955055 => 'MagtiCom', 995507 => 'Globalcell', diff --git a/src/carrier/data/en/996.php b/src/carrier/data/en/996.php index ee5ce8d0..60f63a19 100644 --- a/src/carrier/data/en/996.php +++ b/src/carrier/data/en/996.php @@ -1,4 +1,5 @@ '和記電話有限公司', 852474 => '中国移动', 852475 => '和記電話有限公司', + 852476 => '中国移动', 852510 => '中国移动', 852511 => '香港移动通讯', 852512 => '中国移动', @@ -317,7 +319,9 @@ 852933 => '香港移动通讯', 852934 => '中国移动', 852938 => '数码通', - 852939 => '香港移动通讯', + 852939 => '中国移动', + 8529390 => '香港移动通讯', + 8529391 => '香港移动通讯', 852940 => '香港移动通讯', 852943 => '数码通', 852944 => '数码通', diff --git a/src/carrier/data/zh/86.php b/src/carrier/data/zh/86.php index a842d20e..cdbbcd9e 100644 --- a/src/carrier/data/zh/86.php +++ b/src/carrier/data/zh/86.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '7\\d{11}|[35-7]\\d{8}', + 'NationalNumberPattern' => '7\\d{11}|[235-7]\\d{8}', 'PossibleLength' => [ 9, 12, @@ -52,8 +53,10 @@ 'PossibleLengthLocalOnly' => [], ], 'voip' => [ + 'NationalNumberPattern' => '2\\d{8}', + 'ExampleNumber' => '201234567', 'PossibleLength' => [ - -1, + 9, ], 'PossibleLengthLocalOnly' => [], ], @@ -90,7 +93,7 @@ 'pattern' => '(\\d{3})(\\d{3})(\\d{3})', 'format' => '$1 $2 $3', 'leadingDigitsPatterns' => [ - '[35-7]', + '[235-7]', ], 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', diff --git a/src/data/PhoneNumberMetadata_878.php b/src/data/PhoneNumberMetadata_878.php index b565afb5..48ca53af 100644 --- a/src/data/PhoneNumberMetadata_878.php +++ b/src/data/PhoneNumberMetadata_878.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '(?:[2-8]\\d|90)\\d{8}|3\\d{6}', + 'NationalNumberPattern' => '[2-9]\\d{9}|3\\d{6}', 'PossibleLength' => [ 7, 10, @@ -16,7 +17,7 @@ 'PossibleLengthLocalOnly' => [], ], 'fixedLine' => [ - 'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}', + 'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}', 'ExampleNumber' => '5062345678', 'PossibleLength' => [ 10, @@ -26,7 +27,7 @@ ], ], 'mobile' => [ - 'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}', + 'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}', 'ExampleNumber' => '5062345678', 'PossibleLength' => [ 10, @@ -58,7 +59,7 @@ 'PossibleLengthLocalOnly' => [], ], 'personalNumber' => [ - 'NationalNumberPattern' => '52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}', + 'NationalNumberPattern' => '52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}', 'ExampleNumber' => '5002345678', 'PossibleLength' => [ 10, diff --git a/src/data/PhoneNumberMetadata_CC.php b/src/data/PhoneNumberMetadata_CC.php index 9a7dddf6..936c7dae 100644 --- a/src/data/PhoneNumberMetadata_CC.php +++ b/src/data/PhoneNumberMetadata_CC.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|22[02]|77\\d)|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}', + 'NationalNumberPattern' => '5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}', 'ExampleNumber' => '555123456', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [], diff --git a/src/data/PhoneNumberMetadata_GF.php b/src/data/PhoneNumberMetadata_GF.php index 6fe99f8e..867ad6f8 100644 --- a/src/data/PhoneNumberMetadata_GF.php +++ b/src/data/PhoneNumberMetadata_GF.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '[56]94\\d{6}|(?:80|9\\d)\\d{7}', + 'NationalNumberPattern' => '(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}', 'PossibleLength' => [ 9, ], @@ -21,7 +22,7 @@ 'PossibleLengthLocalOnly' => [], ], 'mobile' => [ - 'NationalNumberPattern' => '694(?:[0-249]\\d|3[0-8])\\d{4}', + 'NationalNumberPattern' => '(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}', 'ExampleNumber' => '694201234', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [], @@ -91,7 +92,7 @@ 'pattern' => '(\\d{3})(\\d{2})(\\d{2})(\\d{2})', 'format' => '$1 $2 $3 $4', 'leadingDigitsPatterns' => [ - '[56]|9[47]', + '[5-7]|9[47]', ], 'nationalPrefixFormattingRule' => '0$1', 'domesticCarrierCodeFormattingRule' => '', diff --git a/src/data/PhoneNumberMetadata_GG.php b/src/data/PhoneNumberMetadata_GG.php index e6df50c2..89987428 100644 --- a/src/data/PhoneNumberMetadata_GG.php +++ b/src/data/PhoneNumberMetadata_GG.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}', + 'NationalNumberPattern' => '671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}', 'ExampleNumber' => '6713001234', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [ @@ -25,7 +26,7 @@ ], ], 'mobile' => [ - 'NationalNumberPattern' => '671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}', + 'NationalNumberPattern' => '671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}', 'ExampleNumber' => '6713001234', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [ diff --git a/src/data/PhoneNumberMetadata_GW.php b/src/data/PhoneNumberMetadata_GW.php index 54fc1a26..d7193118 100644 --- a/src/data/PhoneNumberMetadata_GW.php +++ b/src/data/PhoneNumberMetadata_GW.php @@ -1,4 +1,5 @@ [], ], 'mobile' => [ - 'NationalNumberPattern' => '(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4])|74[0-2])|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[05])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-49]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}', + 'NationalNumberPattern' => '(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4])|7(?:4[0-2]|6[0-5]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[05])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-49]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}', 'ExampleNumber' => '51234567', 'PossibleLength' => [ 8, diff --git a/src/data/PhoneNumberMetadata_HN.php b/src/data/PhoneNumberMetadata_HN.php index 36700567..96c719eb 100644 --- a/src/data/PhoneNumberMetadata_HN.php +++ b/src/data/PhoneNumberMetadata_HN.php @@ -1,4 +1,5 @@ [], ], 'fixedLine' => [ - 'NationalNumberPattern' => '2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}', + 'NationalNumberPattern' => '2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}', 'ExampleNumber' => '22123456', 'PossibleLength' => [ 8, diff --git a/src/data/PhoneNumberMetadata_HR.php b/src/data/PhoneNumberMetadata_HR.php index 53c6e207..1ea8c130 100644 --- a/src/data/PhoneNumberMetadata_HR.php +++ b/src/data/PhoneNumberMetadata_HR.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '596\\d{6}|(?:69|[89]\\d)\\d{7}', + 'NationalNumberPattern' => '(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}', 'PossibleLength' => [ 9, ], @@ -21,7 +22,7 @@ 'PossibleLengthLocalOnly' => [], ], 'mobile' => [ - 'NationalNumberPattern' => '69[67]\\d{6}', + 'NationalNumberPattern' => '(?:69[67]\\d\\d|7091[0-3])\\d{4}', 'ExampleNumber' => '696201234', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [], @@ -91,7 +92,7 @@ 'pattern' => '(\\d{3})(\\d{2})(\\d{2})(\\d{2})', 'format' => '$1 $2 $3 $4', 'leadingDigitsPatterns' => [ - '[569]|8(?:0[6-9]|[36])', + '[5-79]|8(?:0[6-9]|[36])', ], 'nationalPrefixFormattingRule' => '0$1', 'domesticCarrierCodeFormattingRule' => '', diff --git a/src/data/PhoneNumberMetadata_MR.php b/src/data/PhoneNumberMetadata_MR.php index 7c964de7..59df0582 100644 --- a/src/data/PhoneNumberMetadata_MR.php +++ b/src/data/PhoneNumberMetadata_MR.php @@ -1,4 +1,5 @@ [], ], 'mobile' => [ - 'NationalNumberPattern' => '(?:4[02-489]|5[02-9]|708[45][0-5])\\d{4}', + 'NationalNumberPattern' => '(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}', 'ExampleNumber' => '551234', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [], diff --git a/src/data/PhoneNumberMetadata_PR.php b/src/data/PhoneNumberMetadata_PR.php index 2c1cf547..1fb6165b 100644 --- a/src/data/PhoneNumberMetadata_PR.php +++ b/src/data/PhoneNumberMetadata_PR.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '(?:26|[689]\\d)\\d{7}', + 'NationalNumberPattern' => '709\\d{6}|(?:26|[689]\\d)\\d{7}', 'PossibleLength' => [ 9, ], @@ -21,7 +22,7 @@ 'PossibleLengthLocalOnly' => [], ], 'mobile' => [ - 'NationalNumberPattern' => '69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}', + 'NationalNumberPattern' => '(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}', 'ExampleNumber' => '692123456', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [], @@ -91,7 +92,7 @@ 'pattern' => '(\\d{3})(\\d{2})(\\d{2})(\\d{2})', 'format' => '$1 $2 $3 $4', 'leadingDigitsPatterns' => [ - '[2689]', + '[26-9]', ], 'nationalPrefixFormattingRule' => '0$1', 'domesticCarrierCodeFormattingRule' => '', diff --git a/src/data/PhoneNumberMetadata_RO.php b/src/data/PhoneNumberMetadata_RO.php index 6fcc68f6..230e0f54 100644 --- a/src/data/PhoneNumberMetadata_RO.php +++ b/src/data/PhoneNumberMetadata_RO.php @@ -1,4 +1,5 @@ [], ], 'mobile' => [ - 'NationalNumberPattern' => '7(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|[38]3|[4-7]\\d))\\d{5}', + 'NationalNumberPattern' => '7(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|3[36]|[4-7]\\d|8[35]))\\d{5}', 'ExampleNumber' => '701234567', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [], diff --git a/src/data/PhoneNumberMetadata_SO.php b/src/data/PhoneNumberMetadata_SO.php index f92e1282..791646cf 100644 --- a/src/data/PhoneNumberMetadata_SO.php +++ b/src/data/PhoneNumberMetadata_SO.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '[1-39]\\d{8}|[1-5]\\d{7}', + 'NationalNumberPattern' => '[1-359]\\d{8}|[1-5]\\d{7}', 'PossibleLength' => [ 8, 9, @@ -28,7 +29,7 @@ ], ], 'mobile' => [ - 'NationalNumberPattern' => '9[1-689]\\d{7}', + 'NationalNumberPattern' => '(?:50|9[1-689])\\d{7}', 'ExampleNumber' => '944567890', 'PossibleLength' => [ 9, @@ -100,7 +101,7 @@ 'pattern' => '(\\d{2})(\\d{3})(\\d{3,4})', 'format' => '$1 $2 $3', 'leadingDigitsPatterns' => [ - '[1-5]', + '[1-4]|5[1-3]', ], 'nationalPrefixFormattingRule' => '0$1', 'domesticCarrierCodeFormattingRule' => '', @@ -110,7 +111,7 @@ 'pattern' => '(\\d{3})(\\d{3})(\\d{3})', 'format' => '$1 $2 $3', 'leadingDigitsPatterns' => [ - '9', + '[59]', ], 'nationalPrefixFormattingRule' => '0$1', 'domesticCarrierCodeFormattingRule' => '', diff --git a/src/data/PhoneNumberMetadata_SZ.php b/src/data/PhoneNumberMetadata_SZ.php index f6b09757..09a44197 100644 --- a/src/data/PhoneNumberMetadata_SZ.php +++ b/src/data/PhoneNumberMetadata_SZ.php @@ -1,4 +1,5 @@ [], ], 'mobile' => [ - 'NationalNumberPattern' => '(?:7[019]|9[0-36-9])\\d{6}', + 'NationalNumberPattern' => '(?:7[0-29]|9[0-36-9])\\d{6}', 'ExampleNumber' => '90112345', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [], diff --git a/src/data/PhoneNumberMetadata_TH.php b/src/data/PhoneNumberMetadata_TH.php index d40ebe43..b8b276c9 100644 --- a/src/data/PhoneNumberMetadata_TH.php +++ b/src/data/PhoneNumberMetadata_TH.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}', + 'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}', 'ExampleNumber' => '2015550123', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [ @@ -25,7 +26,7 @@ ], ], 'mobile' => [ - 'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}', + 'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}', 'ExampleNumber' => '2015550123', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [ diff --git a/src/data/PhoneNumberMetadata_UY.php b/src/data/PhoneNumberMetadata_UY.php index 9ec3026e..a7b1a789 100644 --- a/src/data/PhoneNumberMetadata_UY.php +++ b/src/data/PhoneNumberMetadata_UY.php @@ -1,4 +1,5 @@ [ - 'NationalNumberPattern' => '(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}', + 'NationalNumberPattern' => '7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}', 'PossibleLength' => [ 9, ], @@ -21,7 +22,7 @@ 'PossibleLengthLocalOnly' => [], ], 'mobile' => [ - 'NationalNumberPattern' => '639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}', + 'NationalNumberPattern' => '(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}', 'ExampleNumber' => '639012345', 'PossibleLength' => [], 'PossibleLengthLocalOnly' => [], diff --git a/src/data/PhoneNumberMetadata_ZA.php b/src/data/PhoneNumberMetadata_ZA.php index e8db483d..0a1d06dc 100644 --- a/src/data/PhoneNumberMetadata_ZA.php +++ b/src/data/PhoneNumberMetadata_ZA.php @@ -1,4 +1,5 @@ 'San Angelo, TX', 1325949 => 'San Angelo, TX', 1326 => 'Ohio', + 1327 => 'Arkansas', 1329 => 'New York', 1330 => 'Ohio', 1330220 => 'Brunswick, OH', diff --git a/src/geocoding/data/en/14.php b/src/geocoding/data/en/14.php index 4a417160..a06c2abb 100644 --- a/src/geocoding/data/en/14.php +++ b/src/geocoding/data/en/14.php @@ -1,4 +1,5 @@ 'Sarasota, FL', 1941964 => 'Boca Grande, FL', 1941979 => 'Port Charlotte, FL', + 1942 => 'Toronto, ON', 1943 => 'Georgia', 1945 => 'Texas', 1947 => 'Michigan', diff --git a/src/geocoding/data/en/20.php b/src/geocoding/data/en/20.php index b652601b..bb3289dd 100644 --- a/src/geocoding/data/en/20.php +++ b/src/geocoding/data/en/20.php @@ -1,4 +1,5 @@ 'America/Los_Angeles', 1325 => 'America/Chicago', 1326 => 'America/New_York', + 1327 => 'America/Chicago', 1329 => 'America/New_York', 1330 => 'America/New_York', 1331 => 'America/Chicago', @@ -1998,50 +2000,7 @@ 1920 => 'America/Chicago', 1925 => 'America/Los_Angeles', 1928 => 'America/Phoenix', - 1928206 => 'America/Denver&America/Phoenix', - 1928209 => 'America/Denver&America/Phoenix', - 1928212 => 'America/Denver&America/Phoenix', - 192826 => 'America/Denver&America/Phoenix', - 1928280 => 'America/Denver&America/Phoenix', - 1928283 => 'America/Denver&America/Phoenix', - 192830 => 'America/Denver&America/Phoenix', - 1928319 => 'America/Denver&America/Phoenix', - 1928349 => 'America/Denver&America/Phoenix', - 192835 => 'America/Denver&America/Phoenix', - 1928360 => 'America/Denver&America/Phoenix', - 192838 => 'America/Denver&America/Phoenix', - 192840 => 'America/Denver&America/Phoenix', - 192841 => 'America/Denver&America/Phoenix', - 1928429 => 'America/Denver&America/Phoenix', - 1928461 => 'America/Denver&America/Phoenix', - 192848 => 'America/Denver&America/Phoenix', - 1928545 => 'America/Denver&America/Phoenix', - 1928608 => 'America/Denver&America/Phoenix', - 192861 => 'America/Denver&America/Phoenix', - 1928640 => 'America/Denver&America/Phoenix', - 1928645 => 'America/Denver&America/Phoenix', - 192865 => 'America/Denver&America/Phoenix', - 1928660 => 'America/Denver&America/Phoenix', - 1928663 => 'America/Denver&America/Phoenix', - 1928672 => 'America/Denver&America/Phoenix', - 1928673 => 'America/Denver&America/Phoenix', - 1928674 => 'America/Denver&America/Phoenix', - 1928675 => 'America/Denver&America/Phoenix', - 1928686 => 'America/Denver&America/Phoenix', - 1928691 => 'America/Denver&America/Phoenix', - 1928693 => 'America/Denver&America/Phoenix', - 1928697 => 'America/Denver&America/Phoenix', - 1928698 => 'America/Denver&America/Phoenix', - 1928724 => 'America/Denver&America/Phoenix', - 1928725 => 'America/Denver&America/Phoenix', - 1928755 => 'America/Denver&America/Phoenix', - 1928781 => 'America/Denver&America/Phoenix', - 1928787 => 'America/Denver&America/Phoenix', - 192879 => 'America/Denver&America/Phoenix', - 192881 => 'America/Denver&America/Phoenix', - 1928871 => 'America/Denver&America/Phoenix', - 192890 => 'America/Denver&America/Phoenix', - 192896 => 'America/Denver&America/Phoenix', + 1928688 => 'America/Denver&America/Phoenix', 1929 => 'America/New_York', 1930 => 'America/New_York', 1931 => 'America/Chicago', @@ -2052,6 +2011,7 @@ 1939 => 'America/Puerto_Rico', 1940 => 'America/Chicago', 1941 => 'America/New_York', + 1942 => 'America/Toronto', 1943 => 'America/New_York', 1945 => 'America/Chicago', 1947 => 'America/New_York', @@ -2135,6 +2095,8 @@ 262269 => 'Indian/Mayotte', 26263 => 'Indian/Mayotte', 26269 => 'Indian/Reunion', + 2627092 => 'Indian/Reunion', + 2627093 => 'Indian/Mayotte', 26280 => 'Indian/Mayotte&Indian/Reunion', 26281 => 'Indian/Reunion', 26282 => 'Indian/Reunion', @@ -3238,7 +3200,8 @@ 786 => 'Europe/Moscow', 787 => 'Europe/Moscow', 79 => 'Europe/Moscow', - 81 => 'Asia/Tokyo', + 81 => 'Asia/Shanghai', + 8170859 => 'Asia/Shanghai', 82 => 'Asia/Seoul', 84 => 'Asia/Ho_Chi_Minh', 850 => 'Asia/Seoul',