Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.13.50
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s):
   AR, BJ, BL, FI, GE, GP, HR, MF, PL, SG
 - Updated short number metadata for region code(s): BJ, FI
 - Updated carrier data for country calling code(s):
   48 (en), 65 (en), 229 (en), 385 (en), 590 (en), 995 (en)
  • Loading branch information
giggsey committed Nov 18, 2024
1 parent 3f5414a commit b855ec0
Show file tree
Hide file tree
Showing 21 changed files with 221 additions and 202 deletions.
2 changes: 1 addition & 1 deletion METADATA-VERSION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.49
v8.13.50
29 changes: 29 additions & 0 deletions src/carrier/data/en/229.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,35 @@
*/

return [
2290140 => 'SBIN',
2290141 => 'SBIN',
2290142 => 'MTN',
2290143 => 'SBIN',
2290144 => 'SBIN',
2290145 => 'Moov',
2290146 => 'MTN',
2290147 => 'SBIN',
229015 => 'MTN',
2290155 => 'Moov',
2290158 => 'Moov',
2290160 => 'Moov',
2290161 => 'MTN',
2290162 => 'MTN',
2290163 => 'Moov',
2290164 => 'Moov',
2290165 => 'Moov',
2290166 => 'MTN',
2290167 => 'MTN',
2290168 => 'Moov',
2290169 => 'MTN',
2290190 => 'MTN',
2290191 => 'MTN',
2290194 => 'Moov',
2290195 => 'Moov',
2290196 => 'MTN',
2290197 => 'MTN',
2290198 => 'Moov',
2290199 => 'Moov',
2294 => 'Celtiis',
22942 => 'MTN',
22946 => 'MTN',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/385.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
38597595 => 'YATECO',
38597596 => 'Altavox',
38597597 => 'INNOVAC',
38597599 => 'Digicom',
385976 => 'Hrvatski Telekom',
385977 => 'Hrvatski Telekom',
385979 => 'Hrvatski Telekom',
Expand Down
15 changes: 5 additions & 10 deletions src/carrier/data/en/48.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
482114 => 'Plus',
482115 => 'Plus',
48212 => 'Orange',
48213 => 'Plus',
48450 => 'Play',
48454 => 'Orange',
484590 => 'Play',
Expand Down Expand Up @@ -107,8 +108,8 @@
4857975 => 'UPC Polska',
4857976 => 'TELENABLER',
4857977 => 'IM Consulting Izabela',
4857978 => 'EZ PHONE MOBILE',
4857979 => 'EZ PHONE MOBILE',
4857978 => 'Plus',
4857979 => 'Plus',
485798 => 'Play',
485799 => 'Play',
48600 => 'T-Mobile',
Expand Down Expand Up @@ -242,16 +243,9 @@
48783 => 'Plus',
48784 => 'T-Mobile',
48785 => 'Plus',
4878600 => 'JMDI',
4878601 => 'Plus',
4878602 => 'Plus',
4878603 => 'Plus',
4878604 => 'Plus',
4878605 => 'Plus',
4878606 => 'Plus',
487860 => 'Plus',
4878607 => 'Play',
4878608 => 'Play',
4878609 => 'Plus',
487861 => 'Play',
487862 => 'Play',
487863 => 'Orange',
Expand Down Expand Up @@ -311,6 +305,7 @@
4888444 => 'CARITAS',
4888446 => 'Plus',
4888447 => 'Plus',
4888448 => 'Plus',
4888449 => 'Plus',
488845 => 'Plus',
488846 => 'Play',
Expand Down
5 changes: 5 additions & 0 deletions src/carrier/data/en/590.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,9 @@
59069135 => 'Orange',
590694 => 'Digicel',
590696 => 'Digicel',
59070900 => 'Free Caraïbe',
59070901 => 'Outremer Telecom',
59070902 => 'Digicel',
59070903 => 'Orange',
59070904 => 'Dauphin Telecom',
];
7 changes: 6 additions & 1 deletion src/carrier/data/en/65.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
658094 => 'M1',
658095 => 'SingTel',
658096 => 'Simba',
658097 => 'CUniq',
658098 => 'Simba',
658099 => 'SingTel',
6581 => 'StarHub',
Expand Down Expand Up @@ -391,7 +392,11 @@
658950 => 'M1',
658951 => 'M1',
658952 => 'M1',
65896 => 'Simba',
658960 => 'Simba',
658961 => 'Simba',
658962 => 'Simba',
658963 => 'SingTel',
658964 => 'SingTel',
659001 => 'StarHub',
659002 => 'StarHub',
659003 => 'StarHub',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/en/995.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
995551 => 'MagtiCom',
9955520 => 'Premium Net International SRL',
9955522 => 'Asanet',
995553 => 'Silknet',
995554 => 'Silknet',
995555 => 'Silknet',
995557 => 'Silknet',
995558 => 'Silknet',
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_AR.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
],
'fixedLine' => [
'NationalNumberPattern' => '3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}',
'NationalNumberPattern' => '3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:21[2-6]|(?:3[06]|49)4|6(?:04|1[2-8])|9[17][4-6])|3(?:(?:36|64)4|4(?:1[2-8]|[25][4-6]|84)|5(?:1[2-9]|[38][4-6])|8(?:[17][2-6]|3[4-6]|8[3-68])))\\d{6}|(?:2(?:23|64|99)|3(?:43|85))[3-6]\\d{6}|(?:2(?:657|9(?:54|66))|3(?:487|7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:[28]0|37|6[36]|9[48])|3(?:62|7[069]|80))[45]\\d{6}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:2(?:62|81)|320|622|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:2(?:284|3(?:02|23)|477|920)|3(?:4(?:46|[89]2)|541|878))[2-7]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}',
'ExampleNumber' => '1123456789',
'PossibleLength' => [
10,
Expand All @@ -32,7 +32,7 @@
],
],
'mobile' => [
'NationalNumberPattern' => '93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}',
'NationalNumberPattern' => '93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:21[2-6]|(?:3[06]|49)4|6(?:04|1[2-8])|9[17][4-6])|3(?:(?:36|64)4|4(?:1[2-8]|[25][4-6]|84)|5(?:1[2-9]|[38][4-6])|8(?:[17][2-6]|3[4-6]|8[3-68]))))\\d{6}|9(?:2(?:23|64|99)|3(?:43|85))[3-6]\\d{6}|9(?:2(?:657|9(?:54|66))|3(?:487|7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:[28]0|37|6[36]|9[48])|3(?:62|7[069]|80))[45]\\d{6}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:2(?:62|81)|320|622|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|9(?:2(?:284|3(?:02|23)|477|920)|3(?:4(?:46|[89]2)|541|878))[2-7]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}',
'ExampleNumber' => '91123456789',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [
Expand Down
31 changes: 23 additions & 8 deletions src/data/PhoneNumberMetadata_BJ.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@

return [
'generalDesc' => [
'NationalNumberPattern' => '[24-689]\\d{7}',
'NationalNumberPattern' => '(?:01\\d|[24-689])\\d{7}',
'PossibleLength' => [
8,
10,
],
'PossibleLengthLocalOnly' => [],
],
'fixedLine' => [
'NationalNumberPattern' => '2090\\d{4}|2(?:02|1[037]|2[45]|3[68]|4\\d)\\d{5}',
'ExampleNumber' => '20211234',
'NationalNumberPattern' => '2090\\d{4}|(?:012\\d\\d|2(?:02|1[037]|2[45]|3[68]|4\\d))\\d{5}',
'ExampleNumber' => '0120211234',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:4[0-8]|[56]\\d|9[013-9])\\d{6}',
'ExampleNumber' => '90011234',
'NationalNumberPattern' => '(?:01(?:2[5-9]|[4-69]\\d)|4[0-8]|[56]\\d|9[013-9])\\d{6}',
'ExampleNumber' => '0195123456',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
],
Expand Down Expand Up @@ -53,7 +54,9 @@
'voip' => [
'NationalNumberPattern' => '857[58]\\d{4}',
'ExampleNumber' => '85751234',
'PossibleLength' => [],
'PossibleLength' => [
8,
],
'PossibleLengthLocalOnly' => [],
],
'pager' => [
Expand All @@ -65,7 +68,9 @@
'uan' => [
'NationalNumberPattern' => '81\\d{6}',
'ExampleNumber' => '81123456',
'PossibleLength' => [],
'PossibleLength' => [
8,
],
'PossibleLengthLocalOnly' => [],
],
'voicemail' => [
Expand Down Expand Up @@ -95,8 +100,18 @@
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => false,
],
[
'pattern' => '(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})',
'format' => '$1 $2 $3 $4 $5',
'leadingDigitsPatterns' => [
'0',
],
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => false,
],
],
'intlNumberFormat' => [],
'mainCountryForCode' => false,
'mobileNumberPortableRegion' => false,
'mobileNumberPortableRegion' => true,
];
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_BL.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

return [
'generalDesc' => [
'NationalNumberPattern' => '590\\d{6}|(?:69|80|9\\d)\\d{7}',
'NationalNumberPattern' => '(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}',
'PossibleLength' => [
9,
],
Expand All @@ -21,7 +21,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}',
'NationalNumberPattern' => '(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}',
'ExampleNumber' => '690001234',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_FI.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'PossibleLengthLocalOnly' => [],
],
'fixedLine' => [
'NationalNumberPattern' => '1[35-7][1-8]\\d{3,6}|(?:1[49][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}',
'NationalNumberPattern' => '1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}',
'ExampleNumber' => '131234567',
'PossibleLength' => [
5,
Expand Down Expand Up @@ -177,7 +177,7 @@
'pattern' => '(\\d)(\\d{4,9})',
'format' => '$1 $2',
'leadingDigitsPatterns' => [
'(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9',
'(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9',
],
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down Expand Up @@ -229,7 +229,7 @@
'pattern' => '(\\d)(\\d{4,9})',
'format' => '$1 $2',
'leadingDigitsPatterns' => [
'(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9',
'(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9',
],
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GE.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
],
'mobile' => [
'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)|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])|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}',
'ExampleNumber' => '555123456',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_GP.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

return [
'generalDesc' => [
'NationalNumberPattern' => '590\\d{6}|(?:69|80|9\\d)\\d{7}',
'NationalNumberPattern' => '(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}',
'PossibleLength' => [
9,
],
Expand All @@ -21,7 +21,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}',
'NationalNumberPattern' => '(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}',
'ExampleNumber' => '690001234',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down Expand Up @@ -91,7 +91,7 @@
'pattern' => '(\\d{3})(\\d{2})(\\d{2})(\\d{2})',
'format' => '$1 $2 $3 $4',
'leadingDigitsPatterns' => [
'[569]',
'[5-79]',
],
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_HR.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
],
'mobile' => [
'NationalNumberPattern' => '9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-7])))\\d{4}|98\\d{6}',
'NationalNumberPattern' => '9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}',
'ExampleNumber' => '921234567',
'PossibleLength' => [
8,
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_MF.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

return [
'generalDesc' => [
'NationalNumberPattern' => '590\\d{6}|(?:69|80|9\\d)\\d{7}',
'NationalNumberPattern' => '(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}',
'PossibleLength' => [
9,
],
Expand All @@ -21,7 +21,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}',
'NationalNumberPattern' => '(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}',
'ExampleNumber' => '690001234',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_PL.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '21(?:1[013-5]|2\\d)\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}',
'NationalNumberPattern' => '21(?:1[013-5]|2\\d|3[4-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}',
'ExampleNumber' => '512345678',
'PossibleLength' => [
9,
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_SG.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '8(?:09[0-689]|96[0-2])\\d{4}|(?:8(?:0[1-8]|[1-8]\\d|9[0-5])|9[0-8]\\d)\\d{5}',
'NationalNumberPattern' => '896[0-4]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-5])|9[0-8]\\d)\\d{5}',
'ExampleNumber' => '81234567',
'PossibleLength' => [
8,
Expand Down
12 changes: 6 additions & 6 deletions src/data/ShortNumberMetadata_BJ.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
'PossibleLengthLocalOnly' => [],
],
'tollFree' => [
'NationalNumberPattern' => '11[78]|7[3-5]\\d\\d',
'ExampleNumber' => '117',
'NationalNumberPattern' => '1(?:1[246-8]|3[68]|6[06])|7[3-5]\\d\\d',
'ExampleNumber' => '112',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
],
Expand All @@ -28,16 +28,16 @@
'PossibleLengthLocalOnly' => [],
],
'emergency' => [
'NationalNumberPattern' => '11[78]',
'ExampleNumber' => '117',
'NationalNumberPattern' => '11[246-8]',
'ExampleNumber' => '112',
'PossibleLength' => [
3,
],
'PossibleLengthLocalOnly' => [],
],
'shortCode' => [
'NationalNumberPattern' => '1(?:1[78]|2[02-5]|60)|7[0-5]\\d\\d',
'ExampleNumber' => '117',
'NationalNumberPattern' => '1(?:05|1[24-8]|2[02-5]|3[126-8]|5[05]|6[06]|89)|7[0-5]\\d\\d',
'ExampleNumber' => '105',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
],
Expand Down
4 changes: 2 additions & 2 deletions src/data/ShortNumberMetadata_FI.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
'PossibleLengthLocalOnly' => [],
],
'shortCode' => [
'NationalNumberPattern' => '11(?:2|6(?:00[06]|1(?:1[17]|23)))|(?:1[235-8]\\d|75[12])\\d\\d',
'NationalNumberPattern' => '11(?:2|6(?:00[06]|1(?:1[17]|23)))|(?:1[2-8]\\d|75[12])\\d\\d',
'ExampleNumber' => '112',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
],
'standardRate' => [
'NationalNumberPattern' => '1[235-8]\\d{3}',
'NationalNumberPattern' => '1[2-8]\\d{3}',
'ExampleNumber' => '12000',
'PossibleLength' => [
5,
Expand Down
Loading

0 comments on commit b855ec0

Please sign in to comment.