Skip to content

Commit

Permalink
Metadata updates for release 7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
keghani committed Nov 10, 2015
1 parent 1db087b commit 6b302e8
Show file tree
Hide file tree
Showing 46 changed files with 26,823 additions and 26,815 deletions.
1,585 changes: 762 additions & 823 deletions cpp/src/phonenumbers/alternate_format.cc

Large diffs are not rendered by default.

20,972 changes: 10,344 additions & 10,628 deletions cpp/src/phonenumbers/lite_metadata.cc

Large diffs are not rendered by default.

22,551 changes: 11,134 additions & 11,417 deletions cpp/src/phonenumbers/metadata.cc

Large diffs are not rendered by default.

5,097 changes: 2,532 additions & 2,565 deletions cpp/src/phonenumbers/short_metadata.cc

Large diffs are not rendered by default.

1,469 changes: 722 additions & 747 deletions cpp/src/phonenumbers/test_metadata.cc

Large diffs are not rendered by default.

Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/421_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/45_en
Binary file not shown.
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/964_en
Binary file not shown.
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/975_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/976_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/config
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions java/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Nov 10, 2015: libphonenumber-7.2.0
Metadata changes:
- Updated phone metadata for region code(s):
BI, BT, IL, MN, MO, NP, RU, SK, VG
- Updated short number metadata for region code(s): BT, DK
- New geocoding data for country calling code(s): 972 (en), 975 (en)
- New carrier data for country calling code(s): 853 (en)
- Updated carrier data for country calling code(s):
45 (en), 257 (en), 421 (en), 964 (en), 972 (en), 975 (en), 976 (en)
- Updated / refreshed time zone meta data.

Oct 29, 2015: libphonenumber-7.1.1
Metadata changes:
- Updated phone metadata for region code(s):
Expand Down
750 changes: 370 additions & 380 deletions javascript/i18n/phonenumbers/demo-compiled.js

Large diffs are not rendered by default.

34 changes: 18 additions & 16 deletions javascript/i18n/phonenumbers/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +712,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,"NA","NA"]
]
,"BI":[,[,,"[267]\\d{7}","\\d{8}"]
,[,,"22(?:2[0-7]|[3-5]0)\\d{4}","\\d{8}",,,"22201234"]
,[,,"(?:[26]9|7[14-9])\\d{6}","\\d{8}",,,"79561234"]
,[,,"22\\d{6}","\\d{8}",,,"22201234"]
,[,,"(?:29|6[189]|7[124-9])\\d{6}","\\d{8}",,,"79561234"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
Expand Down Expand Up @@ -865,13 +865,13 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"BT":[,[,,"[1-8]\\d{6,7}","\\d{6,8}"]
,[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}","\\d{6,7}",,,"2345678"]
,[,,"[17]7\\d{6}","\\d{8}",,,"17123456"]
,[,,"(?:1[67]|77)\\d{6}","\\d{8}",,,"17123456"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,"BT",975,"00",,,,,,,,[[,"([17]7)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1|77"]
,"BT",975,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1|77"]
]
,[,"([2-8])(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]
]
Expand Down Expand Up @@ -2192,12 +2192,12 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"IL":[,[,,"[17]\\d{6,9}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}","\\d{4,10}"]
,[,,"[2-489]\\d{7}","\\d{7,8}",,,"21234567"]
,[,,"5(?:[02-47-9]\\d{2}|5(?:01|2[23]|3[34]|4[45]|5[5689]|6[67]|7[0178]|[89][6-9])|6[2-9]\\d)\\d{5}","\\d{9}",,,"501234567"]
,[,,"5(?:[02-47-9]\\d{2}|5(?:01|2[23]|3[2-4]|4[45]|5[5689]|6[67]|7[0178]|[89][6-9])|6[2-9]\\d)\\d{5}","\\d{9}",,,"501234567"]
,[,,"1(?:80[019]\\d{3}|255)\\d{3}","\\d{7,10}",,,"1800123456"]
,[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}","\\d{8,10}",,,"1919123456"]
,[,,"1700\\d{6}","\\d{10}",,,"1700123456"]
,[,,"NA","NA"]
,[,,"7(?:18\\d|2[23]\\d|3[237]\\d|47\\d|6(?:5\\d|8[0168])|7\\d{2}|8(?:2\\d|33|55|77|81)|99\\d)\\d{5}","\\d{9}",,,"771234567"]
,[,,"7(?:18\\d|2[23]\\d|3[237]\\d|47\\d|6(?:5\\d|8[0168])|7\\d{2}|8(?:2\\d|33|55|77|81)|9[29]\\d)\\d{5}","\\d{9}",,,"771234567"]
,"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"([2-489])(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"]
,"0$1"]
,[,"([57]\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[57]"]
Expand Down Expand Up @@ -3098,7 +3098,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MN":[,[,,"[12]\\d{7,9}|[57-9]\\d{7}","\\d{6,10}"]
,[,,"[12](?:1\\d|2(?:[1-3]\\d?|7\\d)|3[2-8]\\d{1,2}|4[2-68]\\d{1,2}|5[1-4689]\\d{1,2})\\d{5}|5[0568]\\d{6}","\\d{6,10}",,,"50123456"]
,[,,"(?:8[0689]|9[013-9])\\d{6}","\\d{8}",,,"88123456"]
,[,,"(?:8(?:[05689]\\d|3[01])|9[013-9]\\d)\\d{5}","\\d{8}",,,"88123456"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
Expand All @@ -3122,7 +3122,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MO":[,[,,"[268]\\d{7}","\\d{8}"]
,[,,"(?:28[2-57-9]|8[2-57-9]\\d)\\d{5}","\\d{8}",,,"28212345"]
,[,,"6[236]\\d{6}","\\d{8}",,,"66123456"]
,[,,"6(?:[2356]\\d|8[18])\\d{5}","\\d{8}",,,"66123456"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
Expand Down Expand Up @@ -3509,7 +3509,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-69]|7[15-9])"]
,"0$1"]
,[,"(9\\d{2})(\\d{7})","$1-$2",["9(?:6[013]|7[245]|8)"]
,"0$1"]
,"$1"]
]
,,[,,"NA","NA"]
,,,[,,"NA","NA"]
Expand Down Expand Up @@ -3937,7 +3937,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,"NA","NA"]
]
,"RU":[,[,,"[3489]\\d{9}","\\d{10}"]
,[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-7]|7[1-37-9]))\\d{7}","\\d{10}",,,"3011234567"]
,[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}","\\d{10}",,,"3011234567"]
,[,,"9\\d{9}","\\d{10}",,,"9123456789"]
,[,,"80[04]\\d{7}","\\d{10}",,,"8001234567"]
,[,,"80[39]\\d{7}","\\d{10}",,,"8091234567"]
Expand Down Expand Up @@ -4181,23 +4181,25 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}","\\d{5}(?:\\d{3})?",,,"01234"]
,1,,[,,"81[23]\\d{5}","\\d{8}",,,"81212345"]
]
,"SK":[,[,,"[2-689]\\d{8}","\\d{9}"]
,"SK":[,[,,"(?:[2-68]\\d{8}|9\\d{6,8})","\\d{7,9}"]
,[,,"[2-5]\\d{8}","\\d{9}",,,"212345678"]
,[,,"9(?:0[1-8]|1[0-24-9]|4[0489])\\d{6}","\\d{9}",,,"912123456"]
,[,,"9(?:0[1-8]|1[0-24-9]|4[0489]|50)\\d{6}","\\d{9}",,,"912123456"]
,[,,"800\\d{6}","\\d{9}",,,"800123456"]
,[,,"9(?:[78]\\d{7}|00\\d{6})","\\d{9}",,,"900123456"]
,[,,"8[5-9]\\d{7}","\\d{9}",,,"850123456"]
,[,,"NA","NA"]
,[,,"6(?:5[0-4]|9[0-6])\\d{6}","\\d{9}",,,"690123456"]
,[,,"6(?:02|5[0-4]|9[0-6])\\d{6}","\\d{9}",,,"690123456"]
,"SK",421,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"]
,"0$1"]
,[,"([3-5]\\d)(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"]
,"0$1"]
,[,"([689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"]
,"0$1"]
,[,"(9090)(\\d{3})","$1 $2",["9090"]
,"0$1"]
]
,,[,,"NA","NA"]
,,,[,,"(?:8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}","\\d{9}",,,"800123456"]
,,[,,"9090\\d{3}","\\d{7}",,,"9090123"]
,,,[,,"(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}|9090\\d{3}","\\d{7,9}",,,"800123456"]
,[,,"96\\d{7}","\\d{9}",,,"961234567"]
,,,[,,"NA","NA"]
]
Expand Down Expand Up @@ -4806,7 +4808,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"VG":[,[,,"[2589]\\d{9}","\\d{7}(?:\\d{3})?"]
,[,,"284(?:(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}|496[0-5]\\d{3})","\\d{7}(?:\\d{3})?",,,"2842291234"]
,[,,"284(?:(?:3(?:0[0-3]|4[0-367])|4(?:4[0-6]|68|99)|54[0-57])\\d{4}|496[6-9]\\d{3})","\\d{10}",,,"2843001234"]
,[,,"284(?:(?:3(?:0[0-3]|4[0-367]|94)|4(?:4[0-6]|68|99)|54[0-57])\\d{4}|496[6-9]\\d{3})","\\d{10}",,,"2843001234"]
,[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"]
,[,,"900[2-9]\\d{6}","\\d{10}",,,"9002345678"]
,[,,"NA","NA"]
Expand Down
34 changes: 18 additions & 16 deletions javascript/i18n/phonenumbers/metadatalite.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +712,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,"NA","NA"]
]
,"BI":[,[,,"[267]\\d{7}","\\d{8}"]
,[,,"22(?:2[0-7]|[3-5]0)\\d{4}","\\d{8}"]
,[,,"(?:[26]9|7[14-9])\\d{6}","\\d{8}"]
,[,,"22\\d{6}","\\d{8}"]
,[,,"(?:29|6[189]|7[124-9])\\d{6}","\\d{8}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
Expand Down Expand Up @@ -865,13 +865,13 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"BT":[,[,,"[1-8]\\d{6,7}","\\d{6,8}"]
,[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}","\\d{6,7}"]
,[,,"[17]7\\d{6}","\\d{8}"]
,[,,"(?:1[67]|77)\\d{6}","\\d{8}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,"BT",975,"00",,,,,,,,[[,"([17]7)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1|77"]
,"BT",975,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1|77"]
]
,[,"([2-8])(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]
]
Expand Down Expand Up @@ -2192,12 +2192,12 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"IL":[,[,,"[17]\\d{6,9}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}","\\d{4,10}"]
,[,,"[2-489]\\d{7}","\\d{7,8}"]
,[,,"5(?:[02-47-9]\\d{2}|5(?:01|2[23]|3[34]|4[45]|5[5689]|6[67]|7[0178]|[89][6-9])|6[2-9]\\d)\\d{5}","\\d{9}"]
,[,,"5(?:[02-47-9]\\d{2}|5(?:01|2[23]|3[2-4]|4[45]|5[5689]|6[67]|7[0178]|[89][6-9])|6[2-9]\\d)\\d{5}","\\d{9}"]
,[,,"1(?:80[019]\\d{3}|255)\\d{3}","\\d{7,10}"]
,[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}","\\d{8,10}"]
,[,,"1700\\d{6}","\\d{10}"]
,[,,"NA","NA"]
,[,,"7(?:18\\d|2[23]\\d|3[237]\\d|47\\d|6(?:5\\d|8[0168])|7\\d{2}|8(?:2\\d|33|55|77|81)|99\\d)\\d{5}","\\d{9}"]
,[,,"7(?:18\\d|2[23]\\d|3[237]\\d|47\\d|6(?:5\\d|8[0168])|7\\d{2}|8(?:2\\d|33|55|77|81)|9[29]\\d)\\d{5}","\\d{9}"]
,"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"([2-489])(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"]
,"0$1"]
,[,"([57]\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[57]"]
Expand Down Expand Up @@ -3098,7 +3098,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MN":[,[,,"[12]\\d{7,9}|[57-9]\\d{7}","\\d{6,10}"]
,[,,"[12](?:1\\d|2(?:[1-3]\\d?|7\\d)|3[2-8]\\d{1,2}|4[2-68]\\d{1,2}|5[1-4689]\\d{1,2})\\d{5}|5[0568]\\d{6}","\\d{6,10}"]
,[,,"(?:8[0689]|9[013-9])\\d{6}","\\d{8}"]
,[,,"(?:8(?:[05689]\\d|3[01])|9[013-9]\\d)\\d{5}","\\d{8}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
Expand All @@ -3122,7 +3122,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MO":[,[,,"[268]\\d{7}","\\d{8}"]
,[,,"(?:28[2-57-9]|8[2-57-9]\\d)\\d{5}","\\d{8}"]
,[,,"6[236]\\d{6}","\\d{8}"]
,[,,"6(?:[2356]\\d|8[18])\\d{5}","\\d{8}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
Expand Down Expand Up @@ -3509,7 +3509,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-69]|7[15-9])"]
,"0$1"]
,[,"(9\\d{2})(\\d{7})","$1-$2",["9(?:6[013]|7[245]|8)"]
,"0$1"]
,"$1"]
]
,,[,,"NA","NA"]
,,,[,,"NA","NA"]
Expand Down Expand Up @@ -3937,7 +3937,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,"NA","NA"]
]
,"RU":[,[,,"[3489]\\d{9}","\\d{10}"]
,[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-7]|7[1-37-9]))\\d{7}","\\d{10}"]
,[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}","\\d{10}"]
,[,,"9\\d{9}","\\d{10}"]
,[,,"80[04]\\d{7}","\\d{10}"]
,[,,"80[39]\\d{7}","\\d{10}"]
Expand Down Expand Up @@ -4181,23 +4181,25 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}","\\d{5}(?:\\d{3})?"]
,1,,[,,"81[23]\\d{5}","\\d{8}"]
]
,"SK":[,[,,"[2-689]\\d{8}","\\d{9}"]
,"SK":[,[,,"(?:[2-68]\\d{8}|9\\d{6,8})","\\d{7,9}"]
,[,,"[2-5]\\d{8}","\\d{9}"]
,[,,"9(?:0[1-8]|1[0-24-9]|4[0489])\\d{6}","\\d{9}"]
,[,,"9(?:0[1-8]|1[0-24-9]|4[0489]|50)\\d{6}","\\d{9}"]
,[,,"800\\d{6}","\\d{9}"]
,[,,"9(?:[78]\\d{7}|00\\d{6})","\\d{9}"]
,[,,"8[5-9]\\d{7}","\\d{9}"]
,[,,"NA","NA"]
,[,,"6(?:5[0-4]|9[0-6])\\d{6}","\\d{9}"]
,[,,"6(?:02|5[0-4]|9[0-6])\\d{6}","\\d{9}"]
,"SK",421,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"]
,"0$1"]
,[,"([3-5]\\d)(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"]
,"0$1"]
,[,"([689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"]
,"0$1"]
,[,"(9090)(\\d{3})","$1 $2",["9090"]
,"0$1"]
]
,,[,,"NA","NA"]
,,,[,,"(?:8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}","\\d{9}"]
,,[,,"9090\\d{3}","\\d{7}"]
,,,[,,"(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}|9090\\d{3}","\\d{7,9}"]
,[,,"96\\d{7}","\\d{9}"]
,,,[,,"NA","NA"]
]
Expand Down Expand Up @@ -4806,7 +4808,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"VG":[,[,,"[2589]\\d{9}","\\d{7}(?:\\d{3})?"]
,[,,"284(?:(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}|496[0-5]\\d{3})","\\d{7}(?:\\d{3})?"]
,[,,"284(?:(?:3(?:0[0-3]|4[0-367])|4(?:4[0-6]|68|99)|54[0-57])\\d{4}|496[6-9]\\d{3})","\\d{10}"]
,[,,"284(?:(?:3(?:0[0-3]|4[0-367]|94)|4(?:4[0-6]|68|99)|54[0-57])\\d{4}|496[6-9]\\d{3})","\\d{10}"]
,[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}"]
,[,,"900[2-9]\\d{6}","\\d{10}"]
,[,,"NA","NA"]
Expand Down
Loading

0 comments on commit 6b302e8

Please sign in to comment.