Skip to content

Commit

Permalink
Upstream changes from Google for v7.4.4
Browse files Browse the repository at this point in the history
Metadata changes:
 - Updated phone metadata for region code(s): AZ, BH, HN, IN, US
 - Updated short number metadata for region code(s): BR, IN, SK
 - New geocoding data for country calling code(s): 994 (en),
 - Updated geocoding data for country calling code(s): 504 (en), 1 (en)
 - Updated carrier data for country calling code(s):
   91 (en), 973 (en), 994 (en)
  • Loading branch information
giggsey committed Jun 29, 2016
1 parent 4ca0df0 commit 75cc4cb
Show file tree
Hide file tree
Showing 16 changed files with 659 additions and 530 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/googlei18n/libphonenumber project
#
# For more information, look at the phing tasks in build.xml
libphonenumber-7.4.3
libphonenumber-7.4.4
2 changes: 2 additions & 0 deletions src/libphonenumber/carrier/data/en/91.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@
9173910 => 'Vodafone',
9173918 => 'Vodafone',
9173919 => 'Vodafone',
9173959 => 'Airtel',
917396 => 'Telewings',
917398 => 'Telewings',
917399 => 'Dishnet',
Expand Down Expand Up @@ -835,6 +836,7 @@
917877 => 'Reliance',
917878 => 'Reliance',
917879 => 'Reliance',
9178880 => 'Idea',
917890 => 'Idea',
917891 => 'Idea',
917893 => 'Airtel',
Expand Down
1 change: 1 addition & 0 deletions src/libphonenumber/carrier/data/en/973.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
97337 => 'zain BH',
97338 => 'Batelco',
97339 => 'Batelco',
97354 => 'VIVA',
97363 => 'VIVA',
973663 => 'zain BH',
973666 => 'zain BH',
Expand Down
3 changes: 3 additions & 0 deletions src/libphonenumber/carrier/data/en/994.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
*/

return array (
99436554 => 'Nakhtel',
99440 => 'FONEX',
99444 => 'Aztelekom',
99450 => 'Azercell',
99451 => 'Azercell',
99455 => 'Bakcell',
99460 => 'Nakhtel',
99470 => 'Nar Mobile',
99477 => 'Nar Mobile',
);
24 changes: 15 additions & 9 deletions src/libphonenumber/data/PhoneNumberMetadata_AZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@
array (
'NationalNumberPattern' => '
(?:
1[28]\\d|
1[28]\\d{3}|
2(?:
02|
1[24]|
2[2-4]|
33|
[45]2|
6[23]
)|
365
)\\d{6}
)\\d{2}|
365(?:
[0-46-9]\\d|
5[0-35-9]
)
)\\d{4}
',
'PossibleNumberPattern' => '\\d{7,9}',
'ExampleNumber' => '123123456',
Expand All @@ -34,11 +37,14 @@
array (
'NationalNumberPattern' => '
(?:
4[04]|
5[015]|
60|
7[07]
)\\d{7}
36554|
(?:
4[04]|
5[015]|
60|
7[07]
)\\d{3}
)\\d{4}
',
'PossibleNumberPattern' => '\\d{9}',
'ExampleNumber' => '401234567',
Expand Down
2 changes: 1 addition & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_BH.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
(?:
3(?:
[1-4679]\\d|
5[013569]|
5[013-69]|
8[0-47-9]
)\\d|
6(?:
Expand Down
1 change: 1 addition & 0 deletions src/libphonenumber/data/PhoneNumberMetadata_HN.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
9[012]
)|
4(?:
07|
2[3-59]|
3[13-689]|
4[0-68]|
Expand Down
30 changes: 20 additions & 10 deletions src/libphonenumber/data/PhoneNumberMetadata_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@
[07-9]\\d|
11
)|
9[01689]\\d
9(?:
[01689]\\d|
59
)
)|
4(?:
0[1-9]\\d|
Expand Down Expand Up @@ -269,7 +272,10 @@
[1-79]\\d|
8[1-9]
)\\d|
8[0-79]\\d{2}|
8(?:
[0-79]\\d{2}|
880
)|
99[4-9]\\d
)|
8(?:
Expand Down Expand Up @@ -310,7 +316,7 @@
)\\d{5}
',
'PossibleNumberPattern' => '\\d{10}',
'ExampleNumber' => '9123456789',
'ExampleNumber' => '9987654321',
),
'tollFree' =>
array (
Expand Down Expand Up @@ -420,10 +426,9 @@
array (
0 => '
7(?:
[02357]|
[023578]|
4[0-37-9]|
6[0-35-9]|
8[0-79]|
99
)|
8(?:
Expand All @@ -441,7 +446,7 @@
',
1 => '
7(?:
0|
[08]|
2(?:
[0235679]|
[14][017-9]|
Expand All @@ -454,7 +459,7 @@
2[015-8]|
3[17-9]|
4[017-9]|
9[01689]
9[015689]
)|
4(?:
0[1-9]|
Expand Down Expand Up @@ -483,7 +488,6 @@
[1-79]|
8[1-9]
)|
8[0-79]|
99[4-9]
)|
8(?:
Expand Down Expand Up @@ -546,7 +550,10 @@
[07-9]|
11
)|
9[01689]
9(?:
[01689]|
59
)
)|
4(?:
0[1-9]|
Expand Down Expand Up @@ -594,7 +601,10 @@
[1-79]|
8[1-9]
)|
8[0-79]|
8(?:
[0-79]|
880
)|
99[4-9]
)|
8(?:
Expand Down
8 changes: 4 additions & 4 deletions src/libphonenumber/data/PhoneNumberMetadata_US.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
0[1346-9]|
1[02-9]|
2[0589]|
3[01678]|
3[014678]|
4[0179]|
5[12469]|
7[0-3589]|
Expand All @@ -103,7 +103,7 @@
)[2-9]\\d{6}
',
'PossibleNumberPattern' => '\\d{7}(?:\\d{3})?',
'ExampleNumber' => '2015555555',
'ExampleNumber' => '2015550123',
),
'mobile' =>
array (
Expand Down Expand Up @@ -188,7 +188,7 @@
0[1346-9]|
1[02-9]|
2[0589]|
3[01678]|
3[014678]|
4[0179]|
5[12469]|
7[0-3589]|
Expand All @@ -197,7 +197,7 @@
)[2-9]\\d{6}
',
'PossibleNumberPattern' => '\\d{7}(?:\\d{3})?',
'ExampleNumber' => '2015555555',
'ExampleNumber' => '2015550123',
),
'tollFree' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/libphonenumber/data/ShortNumberMetadata_BR.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
330|
878
)|
85959
85959?
)|
40404|
911
Expand Down
24 changes: 14 additions & 10 deletions src/libphonenumber/data/ShortNumberMetadata_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[125]\\d{2,4}',
'PossibleNumberPattern' => '\\d{3,5}',
'NationalNumberPattern' => '[125]\\d{2,6}',
'PossibleNumberPattern' => '\\d{3,7}',
),
'fixedLine' =>
array (
'NationalNumberPattern' => '[125]\\d{2,4}',
'PossibleNumberPattern' => '\\d{3,5}',
'NationalNumberPattern' => '[125]\\d{2,6}',
'PossibleNumberPattern' => '\\d{3,7}',
),
'mobile' =>
array (
'NationalNumberPattern' => '[125]\\d{2,4}',
'PossibleNumberPattern' => '\\d{3,5}',
'NationalNumberPattern' => '[125]\\d{2,6}',
'PossibleNumberPattern' => '\\d{3,7}',
),
'tollFree' =>
array (
Expand Down Expand Up @@ -83,15 +83,19 @@
298
)|
2611|
53000
5(?:
3000|
757555
)
',
'PossibleNumberPattern' => '\\d{3,5}',
'PossibleNumberPattern' => '\\d{3,7}',
'ExampleNumber' => '108',
),
'standardRate' =>
array (
'NationalNumberPattern' => 'NA',
'PossibleNumberPattern' => 'NA',
'NationalNumberPattern' => '5757555',
'PossibleNumberPattern' => '\\d{7}',
'ExampleNumber' => '5757555',
),
'carrierSpecific' =>
array (
Expand Down
3 changes: 2 additions & 1 deletion src/libphonenumber/data/ShortNumberMetadata_SK.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
111
)
)|
5[058]
5[058]|
8\\d{3}
)
',
'PossibleNumberPattern' => '\\d{3,6}',
Expand Down
Loading

0 comments on commit 75cc4cb

Please sign in to comment.