phonelib 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +5 -13
  2. data/README.rdoc +3 -1
  3. data/data/extended_data.dat +0 -0
  4. data/data/libphonenumber/cpp/src/phonenumbers/default_logger.cc +9 -10
  5. data/data/libphonenumber/cpp/src/phonenumbers/lite_metadata.cc +9070 -9088
  6. data/data/libphonenumber/cpp/src/phonenumbers/metadata.cc +9898 -9916
  7. data/data/libphonenumber/cpp/src/phonenumbers/phonenumbermatcher.cc +1 -2
  8. data/data/libphonenumber/cpp/src/phonenumbers/phonenumberutil.cc +58 -61
  9. data/data/libphonenumber/cpp/src/phonenumbers/regexp_cache.cc +1 -1
  10. data/data/libphonenumber/cpp/src/phonenumbers/shortnumberinfo.cc +1 -2
  11. data/data/libphonenumber/cpp/src/phonenumbers/utf/unilib.cc +2 -2
  12. data/data/libphonenumber/cpp/test/phonenumbers/phonenumberutil_test.cc +0 -2
  13. data/data/libphonenumber/cpp/test/phonenumbers/test_util.cc +10 -13
  14. data/data/libphonenumber/java/carrier/pom.xml +4 -4
  15. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/1876_en +0 -0
  16. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/212_en +0 -0
  17. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/233_en +0 -0
  18. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/234_en +0 -0
  19. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/352_en +0 -0
  20. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/60_en +0 -0
  21. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/677_en +0 -0
  22. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/91_en +0 -0
  23. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/92_en +0 -0
  24. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/config +0 -0
  25. data/data/libphonenumber/java/demo/pom.xml +5 -5
  26. data/data/libphonenumber/java/geocoder/pom.xml +4 -4
  27. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/PhoneNumberToTimeZonesMapper.java +0 -1
  28. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/352_en +0 -0
  29. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/352_fr +0 -0
  30. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/91_en +0 -0
  31. data/data/libphonenumber/java/internal/prefixmapper/pom.xml +3 -3
  32. data/data/libphonenumber/java/libphonenumber/pom.xml +2 -2
  33. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberMatcher.java +3 -1
  34. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java +4 -0
  35. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BD +0 -0
  36. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BH +0 -0
  37. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_EH +0 -0
  38. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GH +0 -0
  39. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IN +0 -0
  40. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_JM +0 -0
  41. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LU +0 -0
  42. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MA +0 -0
  43. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MY +0 -0
  44. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NF +0 -0
  45. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NG +0 -0
  46. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PK +0 -0
  47. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SB +0 -0
  48. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TT +0 -0
  49. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TZ +0 -0
  50. data/data/libphonenumber/java/pom.xml +5 -6
  51. data/data/libphonenumber/java/release_notes.txt +9 -0
  52. data/data/libphonenumber/javascript/i18n/phonenumbers/demo-compiled.js +47 -49
  53. data/data/libphonenumber/javascript/i18n/phonenumbers/metadata.js +20 -20
  54. data/data/libphonenumber/javascript/i18n/phonenumbers/metadatalite.js +20 -20
  55. data/data/libphonenumber/resources/PhoneNumberMetadata.xml +59 -87
  56. data/data/libphonenumber/resources/carrier/en/1.txt +7 -0
  57. data/data/libphonenumber/resources/carrier/en/212.txt +3 -0
  58. data/data/libphonenumber/resources/carrier/en/233.txt +3 -0
  59. data/data/libphonenumber/resources/carrier/en/234.txt +1 -0
  60. data/data/libphonenumber/resources/carrier/en/352.txt +5 -1
  61. data/data/libphonenumber/resources/carrier/en/60.txt +2 -0
  62. data/data/libphonenumber/resources/carrier/en/677.txt +6 -2
  63. data/data/libphonenumber/resources/carrier/en/91.txt +2 -0
  64. data/data/libphonenumber/resources/carrier/en/92.txt +1 -0
  65. data/data/libphonenumber/resources/geocoding/en/352.txt +19 -18
  66. data/data/libphonenumber/resources/geocoding/en/91.txt +1 -0
  67. data/data/libphonenumber/resources/geocoding/fr/352.txt +18 -18
  68. data/data/phone_data.dat +0 -0
  69. data/lib/phonelib/version.rb +1 -1
  70. metadata +18 -14
@@ -611,7 +611,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
611
611
  ,,,[,,"NA","NA"]
612
612
  ]
613
613
  ,"BD":[,[,,"[2-79]\\d{5,9}|1\\d{9}|8[0-7]\\d{4,8}","\\d{6,10}"]
614
- ,[,,"2(?:7(?:1[0-267]|2[0-289]|3[0-29]|[46][01]|5[1-3]|7[017]|91)|8(?:0[125]|[139][1-6]|2[0157-9]|6[1-35]|7[1-5]|8[1-8])|9(?:0[0-2]|1[1-4]|2[568]|3[3-6]|5[5-7]|6[0167]|7[15]|8[016-8]))\\d{4}|3(?:12?[5-7]\\d{2}|0(?:2(?:[025-79]\\d|[348]\\d{1,2})|3(?:[2-4]\\d|[56]\\d?))|2(?:1\\d{2}|2(?:[12]\\d|[35]\\d{1,2}|4\\d?))|3(?:1\\d{2}|2(?:[2356]\\d|4\\d{1,2}))|4(?:1\\d{2}|2(?:2\\d{1,2}|[47]|5\\d{2}))|5(?:1\\d{2}|29)|[67]1\\d{2}|8(?:1\\d{2}|2(?:2\\d{2}|3|4\\d)))\\d{3}|4(?:0(?:2(?:[09]\\d|7)|33\\d{2})|1\\d{3}|2(?:1\\d{2}|2(?:[25]\\d?|[348]\\d|[67]\\d{1,2}))|3(?:1\\d{2}(?:\\d{2})?|2(?:[045]\\d|[236-9]\\d{1,2})|32\\d{2})|4(?:[18]\\d{2}|2(?:[2-46]\\d{2}|3)|5[25]\\d{2})|5(?:1\\d{2}|2(?:3\\d|5))|6(?:[18]\\d{2}|2(?:3(?:\\d{2})?|[46]\\d{1,2}|5\\d{2}|7\\d)|5(?:3\\d?|4\\d|[57]\\d{1,2}|6\\d{2}|8))|71\\d{2}|8(?:[18]\\d{2}|23\\d{2}|54\\d{2})|9(?:[18]\\d{2}|2[2-5]\\d{2}|53\\d{1,2}))\\d{3}|5(?:02[03489]\\d{2}|1\\d{2}|2(?:1\\d{2}|2(?:2(?:\\d{2})?|[457]\\d{2}))|3(?:1\\d{2}|2(?:[37](?:\\d{2})?|[569]\\d{2}))|4(?:1\\d{2}|2[46]\\d{2})|5(?:1\\d{2}|26\\d{1,2})|6(?:[18]\\d{2}|2|53\\d{2})|7(?:1|24)\\d{2}|8(?:1|26)\\d{2}|91\\d{2})\\d{3}|6(?:0(?:1\\d{2}|2(?:3\\d{2}|4\\d{1,2}))|2(?:2[2-5]\\d{2}|5(?:[3-5]\\d{2}|7)|8\\d{2})|3(?:1|2[3478])\\d{2}|4(?:1|2[34])\\d{2}|5(?:1|2[47])\\d{2}|6(?:[18]\\d{2}|6(?:2(?:2\\d|[34]\\d{2})|5(?:[24]\\d{2}|3\\d|5\\d{1,2})))|72[2-5]\\d{2}|8(?:1\\d{2}|2[2-5]\\d{2})|9(?:1\\d{2}|2[2-6]\\d{2}))\\d{3}|7(?:(?:02|[3-589]1|6[12]|72[24])\\d{2}|21\\d{3}|32)\\d{3}|8(?:(?:4[12]|[5-7]2|1\\d?)|(?:0|3[12]|[5-7]1|217)\\d)\\d{4}|9(?:[35]1|(?:[024]2|81)\\d|(?:1|[24]1)\\d{2})\\d{3}","\\d{6,9}"]
614
+ ,[,,"2(?:7(?:1[0-267]|2[0-289]|3[0-29]|[46][01]|5[1-3]|7[017]|91)|8(?:0[125]|[139][1-6]|2[0157-9]|6[1-35]|7[1-5]|8[1-8])|9(?:0[0-2]|1[1-4]|2[568]|3[3-6]|5[5-7]|6[0167]|7[15]|8[0146-8]))\\d{4}|3(?:12?[5-7]\\d{2}|0(?:2(?:[025-79]\\d|[348]\\d{1,2})|3(?:[2-4]\\d|[56]\\d?))|2(?:1\\d{2}|2(?:[12]\\d|[35]\\d{1,2}|4\\d?))|3(?:1\\d{2}|2(?:[2356]\\d|4\\d{1,2}))|4(?:1\\d{2}|2(?:2\\d{1,2}|[47]|5\\d{2}))|5(?:1\\d{2}|29)|[67]1\\d{2}|8(?:1\\d{2}|2(?:2\\d{2}|3|4\\d)))\\d{3}|4(?:0(?:2(?:[09]\\d|7)|33\\d{2})|1\\d{3}|2(?:1\\d{2}|2(?:[25]\\d?|[348]\\d|[67]\\d{1,2}))|3(?:1\\d{2}(?:\\d{2})?|2(?:[045]\\d|[236-9]\\d{1,2})|32\\d{2})|4(?:[18]\\d{2}|2(?:[2-46]\\d{2}|3)|5[25]\\d{2})|5(?:1\\d{2}|2(?:3\\d|5))|6(?:[18]\\d{2}|2(?:3(?:\\d{2})?|[46]\\d{1,2}|5\\d{2}|7\\d)|5(?:3\\d?|4\\d|[57]\\d{1,2}|6\\d{2}|8))|71\\d{2}|8(?:[18]\\d{2}|23\\d{2}|54\\d{2})|9(?:[18]\\d{2}|2[2-5]\\d{2}|53\\d{1,2}))\\d{3}|5(?:02[03489]\\d{2}|1\\d{2}|2(?:1\\d{2}|2(?:2(?:\\d{2})?|[457]\\d{2}))|3(?:1\\d{2}|2(?:[37](?:\\d{2})?|[569]\\d{2}))|4(?:1\\d{2}|2[46]\\d{2})|5(?:1\\d{2}|26\\d{1,2})|6(?:[18]\\d{2}|2|53\\d{2})|7(?:1|24)\\d{2}|8(?:1|26)\\d{2}|91\\d{2})\\d{3}|6(?:0(?:1\\d{2}|2(?:3\\d{2}|4\\d{1,2}))|2(?:2[2-5]\\d{2}|5(?:[3-5]\\d{2}|7)|8\\d{2})|3(?:1|2[3478])\\d{2}|4(?:1|2[34])\\d{2}|5(?:1|2[47])\\d{2}|6(?:[18]\\d{2}|6(?:2(?:2\\d|[34]\\d{2})|5(?:[24]\\d{2}|3\\d|5\\d{1,2})))|72[2-5]\\d{2}|8(?:1\\d{2}|2[2-5]\\d{2})|9(?:1\\d{2}|2[2-6]\\d{2}))\\d{3}|7(?:(?:02|[3-589]1|6[12]|72[24])\\d{2}|21\\d{3}|32)\\d{3}|8(?:(?:4[12]|[5-7]2|1\\d?)|(?:0|3[12]|[5-7]1|217)\\d)\\d{4}|9(?:[35]1|(?:[024]2|81)\\d|(?:1|[24]1)\\d{2})\\d{3}","\\d{6,9}"]
615
615
  ,[,,"(?:1[13-9]\\d|(?:3[78]|44)[02-9]|6(?:44|6[02-9]))\\d{7}","\\d{10}"]
616
616
  ,[,,"80[03]\\d{7}","\\d{10}"]
617
617
  ,[,,"NA","NA"]
@@ -699,7 +699,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
699
699
  ]
700
700
  ,"BH":[,[,,"[136-9]\\d{7}","\\d{8}"]
701
701
  ,[,,"(?:1(?:3[13-6]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|88)|9[69][69])|7(?:7\\d{2}|178))\\d{4}","\\d{8}"]
702
- ,[,,"(?:3(?:[1-4679]\\d|5[0135]|8[0-48])\\d|6(?:3(?:00|33|6[16])|6(?:[69]\\d|3[03-9])))\\d{4}","\\d{8}"]
702
+ ,[,,"(?:3(?:[1-4679]\\d|5[01356]|8[0-48])\\d|6(?:3(?:00|33|6[16])|6(?:[69]\\d|3[03-9])))\\d{4}","\\d{8}"]
703
703
  ,[,,"80\\d{6}","\\d{8}"]
704
704
  ,[,,"(?:87|9[014578])\\d{6}","\\d{8}"]
705
705
  ,[,,"84\\d{6}","\\d{8}"]
@@ -1540,7 +1540,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1540
1540
  ]
1541
1541
  ,"EH":[,[,,"[5689]\\d{8}","\\d{9}"]
1542
1542
  ,[,,"528[89]\\d{5}","\\d{9}"]
1543
- ,[,,"6(?:0[0-8]|[12-7]\\d|8[01]|9[2457-9])\\d{6}","\\d{9}"]
1543
+ ,[,,"6(?:0[0-8]|[12-79]\\d|8[01])\\d{6}","\\d{9}"]
1544
1544
  ,[,,"80\\d{7}","\\d{9}"]
1545
1545
  ,[,,"89\\d{7}","\\d{9}"]
1546
1546
  ,[,,"NA","NA"]
@@ -1818,7 +1818,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1818
1818
  ]
1819
1819
  ,"GH":[,[,,"[235]\\d{8}|8\\d{7}","\\d{7,9}"]
1820
1820
  ,[,,"3(?:0[237]\\d|[167](?:2[0-6]|7\\d)|2(?:2[0-5]|7\\d)|3(?:2[0-3]|7\\d)|4(?:2[013-9]|3[01]|7\\d)|5(?:2[0-7]|7\\d)|8(?:2[0-2]|7\\d)|9(?:20|7\\d))\\d{5}","\\d{7,9}"]
1821
- ,[,,"(?:2[034678]\\d|5(?:[047]\\d|54))\\d{6}","\\d{9}"]
1821
+ ,[,,"(?:2[034678]\\d|5(?:[047]\\d|54|6[01]))\\d{6}","\\d{9}"]
1822
1822
  ,[,,"800\\d{5}","\\d{8}"]
1823
1823
  ,[,,"NA","NA"]
1824
1824
  ,[,,"NA","NA"]
@@ -2220,18 +2220,18 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2220
2220
  ,,,[,,"NA","NA"]
2221
2221
  ]
2222
2222
  ,"IN":[,[,,"1\\d{7,12}|[2-9]\\d{9,10}","\\d{6,13}"]
2223
- ,[,,"(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[126-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:[136][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}","\\d{6,10}"]
2224
- ,[,,"(?:7(?:0(?:2[2-9]|[3-8]\\d|9[0-4])|2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]\\d|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:[034678]\\d|2[03-9]|5[017-9]|9[7-9])|6(?:0[0127]|1[0-257-9]|2[0-4]|3[19]|5[4589]|[6-9]\\d)|7(?:0[2-9]|[1-79]\\d|8[1-9])|8(?:[0-7]\\d|9[013-9]))|8(?:0(?:[01589]\\d|6[67])|1(?:[02-589]\\d|1[0135-9]|7[0-79])|2(?:[236-9]\\d|5[1-9])|3(?:[0357-9]\\d|4[1-9])|[45]\\d{2}|6[02457-9]\\d|7[1-69]\\d|8(?:[0-26-9]\\d|44|5[2-9])|9(?:[035-9]\\d|2[2-9]|4[0-8]))|9\\d{3})\\d{6}","\\d{10}"]
2223
+ ,[,,"(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:[136][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}","\\d{6,10}"]
2224
+ ,[,,"(?:7(?:0(?:2[2-9]|[3-8]\\d|9[0-8])|2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]\\d|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:[034678]\\d|2[03-9]|5[017-9]|9[7-9])|6(?:0[0127]|1[0-257-9]|2[0-4]|3[19]|5[4589]|[6-9]\\d)|7(?:0[2-9]|[1-79]\\d|8[1-9])|8(?:[0-7]\\d|9[013-9]))|8(?:0(?:[01589]\\d|6[67])|1(?:[02-589]\\d|1[0135-9]|7[0-79])|2(?:[236-9]\\d|5[1-9])|3(?:[0357-9]\\d|4[1-9])|[45]\\d{2}|6[02457-9]\\d|7[1-69]\\d|8(?:[0-26-9]\\d|44|5[2-9])|9(?:[035-9]\\d|2[2-9]|4[0-8]))|9\\d{3})\\d{6}","\\d{10}"]
2225
2225
  ,[,,"1(?:600\\d{6}|80(?:0\\d{4,8}|3\\d{9}))","\\d{8,13}"]
2226
2226
  ,[,,"186[12]\\d{9}","\\d{13}"]
2227
2227
  ,[,,"1860\\d{7}","\\d{11}"]
2228
2228
  ,[,,"NA","NA"]
2229
2229
  ,[,,"NA","NA"]
2230
- ,"IN",91,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{5})","$1 $2",["7(?:0[2-9]|2[0579]|3[057-9]|4[0-389]|6[0-35-9]|[57]|8[0-79])|8(?:0[015689]|1[0-57-9]|2[2356-9]|3[0-57-9]|[45]|6[02457-9]|7[1-69]|8[0124-9]|9[02-9])|9","7(?:0(?:2[2-9]|[3-8]|9[0-4])|2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:[034678]|2[03-9]|5[017-9]|9[7-9])|6(?:0[0-27]|1[0-257-9]|2[0-4]|3[19]|5[4589]|[6-9])|7(?:0[2-9]|[1-79]|8[1-9])|8(?:[0-7]|9[013-9]))|8(?:0(?:[01589]|6[67])|1(?:[02-589]|1[0135-9]|7[0-79])|2(?:[236-9]|5[1-9])|3(?:[0357-9]|4[1-9])|[45]|6[02457-9]|7[1-69]|8(?:[0-26-9]|44|5[2-9])|9(?:[035-9]|2[2-9]|4[0-8]))|9"]
2230
+ ,"IN",91,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{5})","$1 $2",["7(?:0[2-9]|2[0579]|3[057-9]|4[0-389]|6[0-35-9]|[57]|8[0-79])|8(?:0[015689]|1[0-57-9]|2[2356-9]|3[0-57-9]|[45]|6[02457-9]|7[1-69]|8[0124-9]|9[02-9])|9","7(?:0(?:2[2-9]|[3-8]|9[0-8])|2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:[034678]|2[03-9]|5[017-9]|9[7-9])|6(?:0[0-27]|1[0-257-9]|2[0-4]|3[19]|5[4589]|[6-9])|7(?:0[2-9]|[1-79]|8[1-9])|8(?:[0-7]|9[013-9]))|8(?:0(?:[01589]|6[67])|1(?:[02-589]|1[0135-9]|7[0-79])|2(?:[236-9]|5[1-9])|3(?:[0357-9]|4[1-9])|[45]|6[02457-9]|7[1-69]|8(?:[0-26-9]|44|5[2-9])|9(?:[035-9]|2[2-9]|4[0-8]))|9"]
2231
2231
  ,"0$1","",1]
2232
2232
  ,[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79|80[2-46]"]
2233
2233
  ,"0$1","",1]
2234
- ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[569][14]|7[1257]|8[1346]|[68][1-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[126-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:[136][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)"]
2234
+ ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[569][14]|7[1257]|8[1346]|[68][1-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:[136][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)"]
2235
2235
  ,"0$1","",1]
2236
2236
  ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)","7(?:12|2[14]|3[134]|4[47]|5(?:1|5[2-6])|[67]1|88)"]
2237
2237
  ,"0$1","",1]
@@ -2381,7 +2381,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2381
2381
  ]
2382
2382
  ,"JM":[,[,,"[589]\\d{9}","\\d{7}(?:\\d{3})?"]
2383
2383
  ,[,,"876(?:5(?:0[12]|1[0-468]|2[35]|63)|6(?:0[1-3579]|1[027-9]|[23]\\d|40|5[06]|6[2-589]|7[05]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468]))\\d{4}","\\d{7}(?:\\d{3})?"]
2384
- ,[,,"876(?:2[1789]\\d|[348]\\d{2}|5(?:08|27|6[0-24-9]|[3-578]\\d)|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579]))\\d{4}","\\d{10}"]
2384
+ ,[,,"876(?:2[1789]\\d|[348]\\d{2}|5(?:0[3-9]|27|6[0-24-9]|[3-578]\\d)|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579]))\\d{4}","\\d{10}"]
2385
2385
  ,[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}"]
2386
2386
  ,[,,"900[2-9]\\d{6}","\\d{10}"]
2387
2387
  ,[,,"NA","NA"]
@@ -2829,8 +2829,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2829
2829
  ,,,[,,"NA","NA"]
2830
2830
  ]
2831
2831
  ,"LU":[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})","\\d{4,11}"]
2832
- ,[,,"(?:2(?:2\\d{1,2}|3[2-9]|[67]\\d|4[1-8]\\d?|5[1-5]\\d?|9[0-24-9]\\d?)|3(?:[059][05-9]|[13]\\d|[26][015-9]|4[0-26-9]|7[0-389]|8[08])\\d?|4\\d{2,3}|5(?:[01458]\\d|[27][0-69]|3[0-3]|[69][0-7])\\d?|7(?:1[019]|2[05-9]|3[05]|[45][07-9]|[679][089]|8[06-9])\\d?|8(?:0[2-9]|1[0-36-9]|3[3-9]|[469]9|[58][7-9]|7[89])\\d?|9(?:0[89]|2[0-49]|37|49|5[0-27-9]|7[7-9]|9[0-478])\\d?)\\d{1,7}","\\d{4,11}"]
2833
- ,[,,"6(?:[269][18]|71)\\d{6}","\\d{9}"]
2832
+ ,[,,"(?:2(?:[259]\\d{2,9}|[346-8]\\d{4}(?:\\d{2})?)|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}"]
2833
+ ,[,,"6[2679][18]\\d{6}","\\d{9}"]
2834
2834
  ,[,,"800\\d{5}","\\d{8}"]
2835
2835
  ,[,,"90[01]\\d{5}","\\d{8}"]
2836
2836
  ,[,,"801\\d{5}","\\d{8}"]
@@ -2892,7 +2892,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2892
2892
  ]
2893
2893
  ,"MA":[,[,,"[5689]\\d{8}","\\d{9}"]
2894
2894
  ,[,,"5(?:2(?:(?:[015-7]\\d|2[2-9]|3[2-57]|4[2-8]|8[235-7])\\d|9(?:0\\d|[89]0))|3(?:(?:[0-4]\\d|[57][2-9]|6[235-8]|9[3-9])\\d|8(?:0\\d|[89]0)))\\d{4}","\\d{9}"]
2895
- ,[,,"6(?:0[0-8]|[12-7]\\d|8[01]|9[2457-9])\\d{6}","\\d{9}"]
2895
+ ,[,,"6(?:0[0-8]|[12-79]\\d|8[01])\\d{6}","\\d{9}"]
2896
2896
  ,[,,"80\\d{7}","\\d{9}"]
2897
2897
  ,[,,"89\\d{7}","\\d{9}"]
2898
2898
  ,[,,"NA","NA"]
@@ -3285,7 +3285,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3285
3285
  ]
3286
3286
  ,"MY":[,[,,"[13-9]\\d{7,9}","\\d{6,10}"]
3287
3287
  ,[,,"(?:3[2-9]\\d|[4-9][2-9])\\d{6}","\\d{6,9}"]
3288
- ,[,,"1(?:1[1-3]\\d{2}|[02-4679][2-9]\\d|59\\d{2}|8(?:1[23]|[2-9]\\d))\\d{5}","\\d{9,10}"]
3288
+ ,[,,"1(?:1[1-35]\\d{2}|[02-4679][2-9]\\d|59\\d{2}|8(?:1[23]|[2-9]\\d))\\d{5}","\\d{9,10}"]
3289
3289
  ,[,,"1[378]00\\d{6}","\\d{10}"]
3290
3290
  ,[,,"1600\\d{6}","\\d{10}"]
3291
3291
  ,[,,"NA","NA"]
@@ -3385,7 +3385,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3385
3385
  ]
3386
3386
  ,"NF":[,[,,"[13]\\d{5}","\\d{5,6}"]
3387
3387
  ,[,,"(?:1(?:06|17|28|39)|3[012]\\d)\\d{3}","\\d{5,6}"]
3388
- ,[,,"38\\d{4}","\\d{5,6}"]
3388
+ ,[,,"3[58]\\d{4}","\\d{5,6}"]
3389
3389
  ,[,,"NA","NA"]
3390
3390
  ,[,,"NA","NA"]
3391
3391
  ,[,,"NA","NA"]
@@ -3403,7 +3403,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3403
3403
  ]
3404
3404
  ,"NG":[,[,,"[1-6]\\d{5,8}|9\\d{5,9}|[78]\\d{5,13}","\\d{5,14}"]
3405
3405
  ,[,,"[12]\\d{6,7}|9(?:0[3-9]|[1-9]\\d)\\d{5}|(?:3\\d|4[023568]|5[02368]|6[02-469]|7[4-69]|8[2-9])\\d{6}|(?:4[47]|5[14579]|6[1578]|7[0-357])\\d{5,6}|(?:78|41)\\d{5}","\\d{5,9}"]
3406
- ,[,,"(?:1(?:7[34]\\d|8(?:04|[124579]\\d|8[0-3])|95\\d)|287[0-7]|3(?:18[1-8]|88[0-7]|9(?:8[5-9]|6[1-5]))|4(?:28[0-2]|6(?:7[1-9]|8[02-47])|88[0-2])|5(?:2(?:7[7-9]|8\\d)|38[1-79]|48[0-7]|68[4-7])|6(?:2(?:7[7-9]|8\\d)|4(?:3[7-9]|[68][129]|7[04-69]|9[1-8])|58[0-2]|98[7-9])|7(?:38[0-7]|69[1-8]|78[2-4])|8(?:28[3-9]|38[0-2]|4(?:2[12]|3[147-9]|5[346]|7[4-9]|8[014-689]|90)|58[1-8]|78[2-9]|88[5-7])|98[07]\\d)\\d{4}|(?:70(?:[13-9]\\d|2[1-9])|8(?:0[2-9]|1\\d)\\d|90[239]\\d)\\d{6}","\\d{8,10}"]
3406
+ ,[,,"(?:1(?:7[34]\\d|8(?:04|[124579]\\d|8[0-3])|95\\d)|287[0-7]|3(?:18[1-8]|88[0-7]|9(?:8[5-9]|6[1-5]))|4(?:28[0-2]|6(?:7[1-9]|8[02-47])|88[0-2])|5(?:2(?:7[7-9]|8\\d)|38[1-79]|48[0-7]|68[4-7])|6(?:2(?:7[7-9]|8\\d)|4(?:3[7-9]|[68][129]|7[04-69]|9[1-8])|58[0-2]|98[7-9])|7(?:38[0-7]|69[1-8]|78[2-4])|8(?:28[3-9]|38[0-2]|4(?:2[12]|3[147-9]|5[346]|7[4-9]|8[014-689]|90)|58[1-8]|78[2-9]|88[5-7])|98[07]\\d)\\d{4}|(?:70(?:[13-9]\\d|2[1-9])|8(?:0[2-9]|1\\d)\\d|90[2359]\\d)\\d{6}","\\d{8,10}"]
3407
3407
  ,[,,"800\\d{7,11}","\\d{10,14}"]
3408
3408
  ,[,,"NA","NA"]
3409
3409
  ,[,,"NA","NA"]
@@ -3413,7 +3413,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3413
3413
  ,"0$1","",0]
3414
3414
  ,[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:[1-79]|0[1-9])|8[2-9]"]
3415
3415
  ,"0$1","",0]
3416
- ,[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["70|8[01]|90[239]"]
3416
+ ,[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["70|8[01]|90[2359]"]
3417
3417
  ,"0$1","",0]
3418
3418
  ,[,"([78]00)(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]00"]
3419
3419
  ,"0$1","",0]
@@ -3688,7 +3688,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3688
3688
  ]
3689
3689
  ,"PK":[,[,,"1\\d{8}|[2-8]\\d{5,11}|9(?:[013-9]\\d{4,9}|2\\d(?:111\\d{6}|\\d{3,7}))","\\d{6,12}"]
3690
3690
  ,[,,"(?:21|42)[2-9]\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}|58[126]\\d{7}","\\d{6,10}"]
3691
- ,[,,"3(?:0\\d|[12][0-5]|3[1-7]|4[0-7]|55|64)\\d{7}","\\d{10}"]
3691
+ ,[,,"3(?:0\\d|1[0-6]|2[0-5]|[34][0-7]|55|64)\\d{7}","\\d{10}"]
3692
3692
  ,[,,"800\\d{5}","\\d{8}"]
3693
3693
  ,[,,"900\\d{5}","\\d{8}"]
3694
3694
  ,[,,"NA","NA"]
@@ -3999,7 +3999,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3999
3999
  ]
4000
4000
  ,"SB":[,[,,"[1-9]\\d{4,6}","\\d{5,7}"]
4001
4001
  ,[,,"(?:1[4-79]|[23]\\d|4[01]|5[03]|6[0-37])\\d{3}","\\d{5}"]
4002
- ,[,,"48\\d{3}|7(?:[0146-8]\\d|5[025-9]|9[0124])\\d{4}|8[4-8]\\d{5}|9(?:[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\\d{4}","\\d{5,7}"]
4002
+ ,[,,"48\\d{3}|7(?:[46-8]\\d|5[025-9]|9[0-4])\\d{4}|8[4-8]\\d{5}|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\\d{4}","\\d{5,7}"]
4003
4003
  ,[,,"1[38]\\d{3}","\\d{5}"]
4004
4004
  ,[,,"NA","NA"]
4005
4005
  ,[,,"NA","NA"]
@@ -4597,7 +4597,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
4597
4597
  ,,,[,,"NA","NA"]
4598
4598
  ]
4599
4599
  ,"TT":[,[,,"[589]\\d{9}","\\d{7}(?:\\d{3})?"]
4600
- ,[,,"868(?:2(?:01|2[1-5])|6(?:0[79]|1[02-9]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}","\\d{7}(?:\\d{3})?"]
4600
+ ,[,,"868(?:2(?:[03]1|2[1-5])|6(?:0[79]|1[02-9]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}","\\d{7}(?:\\d{3})?"]
4601
4601
  ,[,,"868(?:2(?:[89]\\d)|3(?:0[1-9]|1[02-9]|[2-9]\\d)|4[6-9]\\d|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}","\\d{10}"]
4602
4602
  ,[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}"]
4603
4603
  ,[,,"900[2-9]\\d{6}","\\d{10}"]
@@ -4644,7 +4644,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
4644
4644
  ]
4645
4645
  ,"TZ":[,[,,"\\d{9}","\\d{7,9}"]
4646
4646
  ,[,,"2[2-8]\\d{7}","\\d{7,9}"]
4647
- ,[,,"(?:6[158]|7[1-9])\\d{7}","\\d{9}"]
4647
+ ,[,,"(?:6[1578]|7[1-9])\\d{7}","\\d{9}"]
4648
4648
  ,[,,"80[08]\\d{6}","\\d{9}"]
4649
4649
  ,[,,"90\\d{7}","\\d{9}"]
4650
4650
  ,[,,"8(?:40|6[01])\\d{6}","\\d{9}"]
@@ -1949,7 +1949,7 @@
1949
1949
  <references>
1950
1950
  <sourceUrl>http://www.itu.int/oth/T0202000012/en</sourceUrl>
1951
1951
  <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Bangladesh</sourceUrl>
1952
- <sourceUrl>http://www.btrc.gov.bd/engineering/national_numbering_plan_2005.pdf</sourceUrl>
1952
+ <sourceUrl>http://www.btrc.gov.bd/sites/default/files/national_numbering_plan_2005_0.pdf</sourceUrl>
1953
1953
  </references>
1954
1954
  <availableFormats>
1955
1955
  <numberFormat pattern="(2)(\d{7})">
@@ -2050,7 +2050,7 @@
2050
2050
  5[5-7]|
2051
2051
  6[0167]|
2052
2052
  7[15]|
2053
- 8[016-8]
2053
+ 8[0146-8]
2054
2054
  )
2055
2055
  )\d{4}|
2056
2056
  3(?:
@@ -2658,13 +2658,14 @@
2658
2658
  <exampleNumber>17001234</exampleNumber>
2659
2659
  </fixedLine>
2660
2660
  <!-- 31 is assigned to Royal Court, as per documents on Bahrain's own telecom site, even
2661
- though it is omitted from the ITU document. -->
2661
+ though it is omitted from the ITU document. 356 was added based on numbers found
2662
+ online. -->
2662
2663
  <mobile>
2663
2664
  <nationalNumberPattern>
2664
2665
  (?:
2665
2666
  3(?:
2666
2667
  [1-4679]\d|
2667
- 5[0135]|
2668
+ 5[01356]|
2668
2669
  8[0-48]
2669
2670
  )\d|
2670
2671
  6(?:
@@ -6534,9 +6535,8 @@
6534
6535
  <nationalNumberPattern>
6535
6536
  6(?:
6536
6537
  0[0-8]|
6537
- [12-7]\d|
6538
- 8[01]|
6539
- 9[2457-9]
6538
+ [12-79]\d|
6539
+ 8[01]
6540
6540
  )\d{6}
6541
6541
  </nationalNumberPattern>
6542
6542
  <exampleNumber>650123456</exampleNumber>
@@ -8259,7 +8259,8 @@
8259
8259
  2[034678]\d|
8260
8260
  5(?:
8261
8261
  [047]\d|
8262
- 54
8262
+ 54|
8263
+ 6[01]
8263
8264
  )
8264
8265
  )\d{6}
8265
8266
  </nationalNumberPattern>
@@ -10136,7 +10137,7 @@
10136
10137
  0(?:
10137
10138
  2[2-9]|
10138
10139
  [3-8]|
10139
- 9[0-4]
10140
+ 9[0-8]
10140
10141
  )|
10141
10142
  2(?:
10142
10143
  0[04-9]|
@@ -10264,7 +10265,7 @@
10264
10265
  2[1-47]|
10265
10266
  3[15]|
10266
10267
  5[12]|
10267
- 6[126-9]|
10268
+ 6[0-26-9]|
10268
10269
  7[0-24-9]|
10269
10270
  8[013-57]|
10270
10271
  9[014-7]
@@ -10456,7 +10457,7 @@
10456
10457
  2[1-47]|
10457
10458
  3[15]|
10458
10459
  5[12]|
10459
- 6[126-9]|
10460
+ 6[0-26-9]|
10460
10461
  7[0-24-9]|
10461
10462
  8[013-57]|
10462
10463
  9[014-7]
@@ -10605,7 +10606,7 @@
10605
10606
  0(?:
10606
10607
  2[2-9]|
10607
10608
  [3-8]\d|
10608
- 9[0-4]
10609
+ 9[0-8]
10609
10610
  )|
10610
10611
  2(?:
10611
10612
  0[04-9]|
@@ -11512,7 +11513,8 @@
11512
11513
  </fixedLine>
11513
11514
  <mobile>
11514
11515
  <!-- Adding 27, 28, 299, 31, 508, 527 and 566 as extra prefixes, as they have been found to
11515
- be valid by sending SMSs and looking at online number lookup sites.
11516
+ be valid by sending SMSs and looking at online number lookup sites. Also added 50[3-79]
11517
+ as we have found information online that the 50[3-9] range has been assigned to Digicel.
11516
11518
 
11517
11519
  Numbers have been found online for the following ranges 29x, 53x, 54x, 55x, 56x.
11518
11520
  Most have mobile numbers online so we have put them under mobile but is possible
@@ -11522,7 +11524,7 @@
11522
11524
  2[1789]\d|
11523
11525
  [348]\d{2}|
11524
11526
  5(?:
11525
- 08|
11527
+ 0[3-9]|
11526
11528
  27|
11527
11529
  6[0-24-9]|
11528
11530
  [3-578]\d
@@ -14546,69 +14548,33 @@
14546
14548
  <possibleNumberPattern>\d{4,11}</possibleNumberPattern>
14547
14549
  </generalDesc>
14548
14550
  <fixedLine>
14549
- <!-- Note that numbers starting with 2[367] can be a maximum of 10 digits - all others a
14550
- maximum of 11. -->
14551
+ <!-- Even though 20 is listed in the fixed-line plan, other documentation clarify that it is
14552
+ for VOIP. Furthermore, even though the plan says that numbers beginning with 2[346-8]
14553
+ must be exactly 8 digits, from information found online it seems that they can actually
14554
+ be 6 (but not 7) digits long. -->
14551
14555
  <nationalNumberPattern>
14552
14556
  (?:
14553
14557
  2(?:
14554
- 2\d{1,2}|
14555
- 3[2-9]|
14556
- [67]\d|
14557
- 4[1-8]\d?|
14558
- 5[1-5]\d?|
14559
- 9[0-24-9]\d?
14558
+ [259]\d{2,9}|
14559
+ [346-8]\d{4}(?:\d{2})?
14560
14560
  )|
14561
- 3(?:
14562
- [059][05-9]|
14563
- [13]\d|
14564
- [26][015-9]|
14565
- 4[0-26-9]|
14566
- 7[0-389]|
14567
- 8[08]
14568
- )\d?|
14569
- 4\d{2,3}|
14570
- 5(?:
14571
- [01458]\d|
14572
- [27][0-69]|
14573
- 3[0-3]|
14574
- [69][0-7]
14575
- )\d?|
14576
- 7(?:
14577
- 1[019]|
14578
- 2[05-9]|
14579
- 3[05]|
14580
- [45][07-9]|
14581
- [679][089]|
14582
- 8[06-9]
14583
- )\d?|
14584
- 8(?:
14585
- 0[2-9]|
14586
- 1[0-36-9]|
14587
- 3[3-9]|
14588
- [469]9|
14589
- [58][7-9]|
14590
- 7[89]
14591
- )\d?|
14592
- 9(?:
14593
- 0[89]|
14594
- 2[0-49]|
14595
- 37|
14596
- 49|
14597
- 5[0-27-9]|
14598
- 7[7-9]|
14599
- 9[0-478]
14600
- )\d?
14601
- )\d{1,7}
14561
+ (?:
14562
+ [3457]\d{2}|
14563
+ 8(?:
14564
+ 0[2-9]|
14565
+ [13-9]\d
14566
+ )|
14567
+ 9(?:
14568
+ 0[89]|
14569
+ [2-579]\d
14570
+ )
14571
+ )\d{1,8}
14572
+ )
14602
14573
  </nationalNumberPattern>
14603
14574
  <exampleNumber>27123456</exampleNumber>
14604
14575
  </fixedLine>
14605
14576
  <mobile>
14606
- <nationalNumberPattern>
14607
- 6(?:
14608
- [269][18]|
14609
- 71
14610
- )\d{6}
14611
- </nationalNumberPattern>
14577
+ <nationalNumberPattern>6[2679][18]\d{6}</nationalNumberPattern>
14612
14578
  <possibleNumberPattern>\d{9}</possibleNumberPattern>
14613
14579
  <exampleNumber>628123456</exampleNumber>
14614
14580
  </mobile>
@@ -14835,13 +14801,13 @@
14835
14801
  </fixedLine>
14836
14802
  <!-- Also duplicated in Western Sahara, please ensure you update both. -->
14837
14803
  <mobile>
14838
- <!-- http://www.anrt.ma/sites/default/files/Blocs_de_numeros_par_operateur.pdf -->
14804
+ <!-- http://www.anrt.ma/sites/default/files/Blocs_de_numeros_par_operateur.pdf
14805
+ Prefixes 69[0136] added based on numbers found online. -->
14839
14806
  <nationalNumberPattern>
14840
14807
  6(?:
14841
14808
  0[0-8]|
14842
- [12-7]\d|
14843
- 8[01]|
14844
- 9[2457-9]
14809
+ [12-79]\d|
14810
+ 8[01]
14845
14811
  )\d{6}
14846
14812
  </nationalNumberPattern>
14847
14813
  <exampleNumber>650123456</exampleNumber>
@@ -16612,10 +16578,10 @@
16612
16578
  <mobile>
16613
16579
  <!-- Although the plan lists the prefix 159 as broadband services (data only), apparently it
16614
16580
  is possible to send SMSs (and receive them) from numbers in this block, so we are
16615
- listing them as mobile. -->
16581
+ listing them as mobile. 115 was added based on numbers found online. -->
16616
16582
  <nationalNumberPattern>
16617
16583
  1(?:
16618
- 1[1-3]\d{2}|
16584
+ 1[1-35]\d{2}|
16619
16585
  [02-4679][2-9]\d|
16620
16586
  59\d{2}|
16621
16587
  8(?:
@@ -17000,7 +16966,8 @@
17000
16966
  <exampleNumber>106609</exampleNumber>
17001
16967
  </fixedLine>
17002
16968
  <mobile>
17003
- <nationalNumberPattern>38\d{4}</nationalNumberPattern>
16969
+ <!-- Numbers found online with prefix 35. -->
16970
+ <nationalNumberPattern>3[58]\d{4}</nationalNumberPattern>
17004
16971
  <exampleNumber>381234</exampleNumber>
17005
16972
  </mobile>
17006
16973
  </territory>
@@ -17032,7 +16999,7 @@
17032
16999
  <leadingDigits>
17033
17000
  70|
17034
17001
  8[01]|
17035
- 90[239]
17002
+ 90[2359]
17036
17003
  </leadingDigits>
17037
17004
  <format>$1 $2 $3</format>
17038
17005
  </numberFormat>
@@ -17091,7 +17058,8 @@
17091
17058
  from Etisalat, 814 MTN and 811 from Glo. Furthermore, the fixed-line prefixes owned by
17092
17059
  Starcomms have apparently, according to the company, been used for mobile numbers too,
17093
17060
  despite the ITU plan, so we list them here as well. 701 has been added for Airtel/Zain.
17094
- 903 has been added for MTN and 909 has been added for Etisalat. -->
17061
+ 903 has been added for MTN, 905 has been added for Globacom (Glo), and 909 has been
17062
+ added for Etisalat. -->
17095
17063
  <nationalNumberPattern>
17096
17064
  (?:
17097
17065
  1(?:
@@ -17174,7 +17142,7 @@
17174
17142
  0[2-9]|
17175
17143
  1\d
17176
17144
  )\d|
17177
- 90[239]\d
17145
+ 90[2359]\d
17178
17146
  )\d{6}
17179
17147
  </nationalNumberPattern>
17180
17148
  <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
@@ -18534,13 +18502,14 @@
18534
18502
  </fixedLine>
18535
18503
  <mobile>
18536
18504
  <!-- Adding 311, 325 and 320 as SMSs have been successfully sent to these numbers and numbers
18537
- can be found online with these prefixes. Added 310 based on information from Zong. -->
18505
+ can be found online with these prefixes. Added 310 based on information from Zong, and
18506
+ 316 based on information found online. -->
18538
18507
  <nationalNumberPattern>
18539
18508
  3(?:
18540
18509
  0\d|
18541
- [12][0-5]|
18542
- 3[1-7]|
18543
- 4[0-7]|
18510
+ 1[0-6]|
18511
+ 2[0-5]|
18512
+ [34][0-7]|
18544
18513
  55|
18545
18514
  64
18546
18515
  )\d{7}
@@ -19778,12 +19747,15 @@
19778
19747
  <nationalNumberPattern>
19779
19748
  48\d{3}|
19780
19749
  7(?:
19781
- [0146-8]\d|
19750
+ [46-8]\d|
19782
19751
  5[025-9]|
19783
- 9[0124]
19752
+ 9[0-4]
19784
19753
  )\d{4}|
19785
19754
  8[4-8]\d{5}|
19786
19755
  9(?:
19756
+ 1[2-9]|
19757
+ 2[013-9]|
19758
+ 3[0-2]|
19787
19759
  [46]\d|
19788
19760
  5[0-46-9]|
19789
19761
  7[0-689]|
@@ -21979,7 +21951,7 @@
21979
21951
  <nationalNumberPattern>
21980
21952
  868(?:
21981
21953
  2(?:
21982
- 01|
21954
+ [03]1|
21983
21955
  2[1-5]
21984
21956
  )|
21985
21957
  6(?:
@@ -22179,7 +22151,7 @@
22179
22151
  <mobile>
22180
22152
  <nationalNumberPattern>
22181
22153
  (?:
22182
- 6[158]|
22154
+ 6[1578]|
22183
22155
  7[1-9]
22184
22156
  )\d{7}
22185
22157
  </nationalNumberPattern>