phonelib 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/data/extended_data.dat +0 -0
  3. data/data/libphonenumber/README.md +1 -1
  4. data/data/libphonenumber/cpp/src/phonenumbers/lite_metadata.cc +9342 -9356
  5. data/data/libphonenumber/cpp/src/phonenumbers/metadata.cc +9917 -9931
  6. data/data/libphonenumber/cpp/src/phonenumbers/phonenumberutil.cc +3 -3
  7. data/data/libphonenumber/cpp/src/phonenumbers/short_metadata.cc +2366 -2365
  8. data/data/libphonenumber/java/carrier/pom.xml +4 -4
  9. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/1246_en +0 -0
  10. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/248_en +0 -0
  11. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/373_en +0 -0
  12. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/60_en +0 -0
  13. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/63_en +0 -0
  14. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/92_en +0 -0
  15. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/94_en +0 -0
  16. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/95_en +0 -0
  17. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/960_en +0 -0
  18. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/972_en +0 -0
  19. data/data/libphonenumber/java/demo/pom.xml +5 -5
  20. data/data/libphonenumber/java/geocoder/pom.xml +4 -4
  21. data/data/libphonenumber/java/internal/prefixmapper/pom.xml +3 -3
  22. data/data/libphonenumber/java/libphonenumber/pom.xml +2 -2
  23. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java +2 -3
  24. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BB +0 -0
  25. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BR +0 -0
  26. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CR +0 -0
  27. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ID +0 -0
  28. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IL +0 -0
  29. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_JO +0 -0
  30. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KW +0 -0
  31. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LK +0 -0
  32. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LU +0 -0
  33. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MD +0 -0
  34. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MM +0 -0
  35. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MV +0 -0
  36. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MY +0 -0
  37. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PH +0 -0
  38. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PK +0 -0
  39. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SC +0 -0
  40. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SE +0 -0
  41. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BE +0 -0
  42. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LK +0 -0
  43. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_US +0 -0
  44. data/data/libphonenumber/java/pom.xml +1 -1
  45. data/data/libphonenumber/java/release_notes.txt +8 -0
  46. data/data/libphonenumber/javascript/i18n/phonenumbers/demo-compiled.js +67 -67
  47. data/data/libphonenumber/javascript/i18n/phonenumbers/metadata.js +25 -25
  48. data/data/libphonenumber/javascript/i18n/phonenumbers/metadatalite.js +25 -25
  49. data/data/libphonenumber/resources/PhoneNumberMetadata.xml +67 -80
  50. data/data/libphonenumber/resources/ShortNumberMetadata.xml +6 -4
  51. data/data/libphonenumber/resources/carrier/en/1.txt +1 -0
  52. data/data/libphonenumber/resources/carrier/en/248.txt +2 -0
  53. data/data/libphonenumber/resources/carrier/en/373.txt +0 -1
  54. data/data/libphonenumber/resources/carrier/en/60.txt +189 -43
  55. data/data/libphonenumber/resources/carrier/en/63.txt +2 -0
  56. data/data/libphonenumber/resources/carrier/en/92.txt +1 -0
  57. data/data/libphonenumber/resources/carrier/en/94.txt +3 -0
  58. data/data/libphonenumber/resources/carrier/en/95.txt +1 -0
  59. data/data/libphonenumber/resources/carrier/en/960.txt +1 -1
  60. data/data/libphonenumber/resources/carrier/en/972.txt +1 -0
  61. data/data/phone_data.dat +0 -0
  62. data/lib/phonelib/core.rb +12 -2
  63. data/lib/phonelib/data_importer.rb +46 -0
  64. data/lib/phonelib/phone_analyzer.rb +45 -33
  65. data/lib/phonelib/version.rb +1 -1
  66. metadata +2 -2
@@ -597,7 +597,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
597
597
  ]
598
598
  ,"BB":[,[,,"[2589]\\d{9}","\\d{7}(?:\\d{3})?"]
599
599
  ,[,,"246[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"2462345678"]
600
- ,[,,"246(?:(?:2[346]|45|82)\\d|25[0-4])\\d{4}","\\d{10}",,,"2462501234"]
600
+ ,[,,"246(?:(?:2[346]|45|82)\\d|25[0-46])\\d{4}","\\d{10}",,,"2462501234"]
601
601
  ,[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"]
602
602
  ,[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"]
603
603
  ,[,,"NA","NA"]
@@ -813,8 +813,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
813
813
  ,,,[,,"NA","NA"]
814
814
  ]
815
815
  ,"BR":[,[,,"[1-46-9]\\d{7,10}|5\\d{8,9}","\\d{8,11}"]
816
- ,[,,"1[1-9][2-5]\\d{7}|(?:[4689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}","\\d{8,11}",,,"1123456789"]
817
- ,[,,"1[1-9](?:7|9\\d)\\d{7}|(?:2[12478]|9[1-9])9?[6-9]\\d{7}|(?:3[1-578]|[468][1-9]|5[13-5]|7[13-579])[6-9]\\d{7}","\\d{10,11}",,,"11961234567"]
816
+ ,[,,"1[1-9][2-5]\\d{7}|(?:[4689][1-9]|2[12478]|3[1-578]|5[1-5]|7[13-579])[2-5]\\d{7}","\\d{8,11}",,,"1123456789"]
817
+ ,[,,"1[1-9](?:7|9\\d)\\d{7}|(?:2[12478]|[89][1-9])9?[6-9]\\d{7}|(?:3[1-578]|[46][1-9]|5[1-5]|7[13-579])[6-9]\\d{7}","\\d{10,11}",,,"11961234567"]
818
818
  ,[,,"800\\d{6,7}","\\d{8,11}",,,"800123456"]
819
819
  ,[,,"[359]00\\d{6,7}","\\d{8,11}",,,"300123456"]
820
820
  ,[,,"[34]00\\d{5}","\\d{8}",,,"40041234"]
@@ -826,7 +826,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
826
826
  ,"$1","",0]
827
827
  ,[,"(\\d{3,5})","$1",["1[125689]"]
828
828
  ,"$1","",0]
829
- ,[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:1[1-9]|2[12478]|9[1-9])9"]
829
+ ,[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:[189][1-9]|2[12478])9"]
830
830
  ,"($1)","0 $CC ($1)",0]
831
831
  ,[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"]
832
832
  ,"($1)","0 $CC ($1)",0]
@@ -835,7 +835,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
835
835
  ,[,"([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"]
836
836
  ,"0$1","",0]
837
837
  ]
838
- ,[[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:1[1-9]|2[12478]|9[1-9])9"]
838
+ ,[[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:[189][1-9]|2[12478])9"]
839
839
  ,"($1)","0 $CC ($1)",0]
840
840
  ,[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"]
841
841
  ,"($1)","0 $CC ($1)",0]
@@ -1239,7 +1239,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1239
1239
  ,[,,"90[059]\\d{7}","\\d{10}",,,"9001234567"]
1240
1240
  ,[,,"NA","NA"]
1241
1241
  ,[,,"NA","NA"]
1242
- ,[,,"210[0-6]\\d{4}|4(?:0(?:0[01]\\d{4}|10[0-3]\\d{3}|2(?:00\\d{3}|900\\d{2})|3[01]\\d{4}|40\\d{4}|5\\d{5}|60\\d{4}|70[01]\\d{3}|8[0-2]\\d{4})|1[01]\\d{5}|20[0-3]\\d{4}|400\\d{4}|70[0-2]\\d{4})|5100\\d{4}","\\d{8}",,,"40001234"]
1242
+ ,[,,"210[0-6]\\d{4}|4\\d{7}|5100\\d{4}","\\d{8}",,,"40001234"]
1243
1243
  ,"CR",506,"00",,,,"(19(?:0[012468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[24-7]|8[3-9]"]
1244
1244
  ,"","$CC $1",0]
1245
1245
  ,[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]0"]
@@ -2121,7 +2121,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2121
2121
  ,,,[,,"NA","NA"]
2122
2122
  ]
2123
2123
  ,"ID":[,[,,"[1-9]\\d{6,10}","\\d{5,11}"]
2124
- ,[,,"2(?:1(?:14\\d{3}|[0-8]\\d{6,7}|500\\d{3}|9\\d{6})|2\\d{6,8}|4\\d{7,8})|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|2[1-8]|3[1-68]|4[1-3]|5[1-8]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:19?|[25]\\d|3[1-69]|4[1-6])|7(?:02|1[1-9]|2[1-9]|[36]\\d|4[1-8]|5[1-9]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}","\\d{5,11}",,,"612345678"]
2124
+ ,[,,"2(?:1(?:14\\d{3}|[0-8]\\d{6,7}|500\\d{3}|9\\d{6})|2\\d{6,8}|4\\d{7,8})|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:19?|[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}","\\d{5,11}",,,"612345678"]
2125
2125
  ,[,,"(?:2(?:1(?:3[145]|4[01]|5[1-469]|60|8[0359]|9\\d)|2(?:88|9[1256])|3[1-4]9|4(?:36|91)|5(?:1[349]|[2-4]9)|6[0-7]9|7(?:[1-36]9|4[39])|8[1-5]9|9[1-48]9)|3(?:19[1-3]|2[12]9|3[13]9|4(?:1[69]|39)|5[14]9|6(?:1[69]|2[89])|709)|4[13]19|5(?:1(?:19|8[39])|4[129]9|6[12]9)|6(?:19[12]|2(?:[23]9|77))|7(?:1[13]9|2[15]9|419|5(?:1[89]|29)|6[15]9|7[178]9))\\d{5,6}|8[1-35-9]\\d{7,9}","\\d{9,11}",,,"812345678"]
2126
2126
  ,[,,"177\\d{6,8}|800\\d{5,7}","\\d{8,11}",,,"8001234567"]
2127
2127
  ,[,,"809\\d{7}","\\d{10}",,,"8091234567"]
@@ -2180,7 +2180,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2180
2180
  ]
2181
2181
  ,"IL":[,[,,"[17]\\d{6,9}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}","\\d{4,10}"]
2182
2182
  ,[,,"[2-489]\\d{7}","\\d{7,8}",,,"21234567"]
2183
- ,[,,"5(?:[02347-9]\\d{2}|5(?:01|2[23]|3[34]|4[45]|5[5689]|6[67]|7[0178]|8[89]|9[7-9])|6[2-9]\\d)\\d{5}","\\d{9}",,,"501234567"]
2183
+ ,[,,"5(?:[02347-9]\\d{2}|5(?:01|2[23]|3[34]|4[45]|5[5689]|6[67]|7[0178]|[89][7-9])|6[2-9]\\d)\\d{5}","\\d{9}",,,"501234567"]
2184
2184
  ,[,,"1(?:80[019]\\d{3}|255)\\d{3}","\\d{7,10}",,,"1800123456"]
2185
2185
  ,[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}","\\d{8,10}",,,"1919123456"]
2186
2186
  ,[,,"1700\\d{6}","\\d{10}",,,"1700123456"]
@@ -2394,8 +2394,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2394
2394
  ,[,,"NA","NA"]
2395
2395
  ,,,[,,"NA","NA"]
2396
2396
  ]
2397
- ,"JO":[,[,,"[235-9]\\d{7,8}","\\d{7,9}"]
2398
- ,[,,"(?:2(?:6(?:2[0-35-9]|3[0-57-8]|4[24-7]|5[0-24-8]|[6-8][02]|9[0-2])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-2]|[57][02]|60)|53(?:0[0-2]|[13][02]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2[50]0|300|4(?:0[0125]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[17-8]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[02-39]))|87(?:[02]0|7[08]|9[09]))\\d{4}","\\d{7,8}",,,"62001234"]
2397
+ ,"JO":[,[,,"[235-9]\\d{7,8}","\\d{8,9}"]
2398
+ ,[,,"(?:2(?:6(?:2[0-35-9]|3[0-57-8]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[57][023]|6[03])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2[50]0|3(?:00|33)|4(?:0[0125]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[17-8]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[02-39]))|87(?:[02]0|7[08]|90))\\d{4}","\\d{8}",,,"62001234"]
2399
2399
  ,[,,"7(?:55|7[25-9]|8[05-9]|9[0-25-9])\\d{6}","\\d{9}",,,"790123456"]
2400
2400
  ,[,,"80\\d{6}","\\d{8}",,,"80012345"]
2401
2401
  ,[,,"900\\d{5}","\\d{8}",,,"90012345"]
@@ -2634,15 +2634,15 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2634
2634
  ]
2635
2635
  ,"KW":[,[,,"[12569]\\d{6,7}","\\d{7,8}"]
2636
2636
  ,[,,"(?:18\\d|2(?:[23]\\d{2}|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7])))\\d{4}","\\d{7,8}",,,"22345678"]
2637
- ,[,,"(?:5(?:[05]\\d|1[0-7])|6(?:0[034679]|5[015-9]|6\\d|7[067]|9[0369])|9(?:0[09]|4[049]|55|6[069]|[79]\\d|8[07-9]))\\d{5}","\\d{8}",,,"50012345"]
2637
+ ,[,,"(?:5(?:[05]\\d|1[0-7])|6(?:0[034679]|5[015-9]|6\\d|7[067]|9[0369])|9(?:0[09]|22|4[049]|55|6[069]|[79]\\d|8[07-9]))\\d{5}","\\d{8}",,,"50012345"]
2638
2638
  ,[,,"NA","NA"]
2639
2639
  ,[,,"NA","NA"]
2640
2640
  ,[,,"NA","NA"]
2641
2641
  ,[,,"NA","NA"]
2642
2642
  ,[,,"NA","NA"]
2643
- ,"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[1269]"]
2643
+ ,"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[126]|9[04-9]"]
2644
2644
  ,"","",0]
2645
- ,[,"(5[015]\\d)(\\d{5})","$1 $2",["5"]
2645
+ ,[,"(\\d{3})(\\d{5})","$1 $2",["5[015]|92"]
2646
2646
  ,"","",0]
2647
2647
  ]
2648
2648
  ,,[,,"NA","NA"]
@@ -2749,7 +2749,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2749
2749
  ]
2750
2750
  ,"LK":[,[,,"[1-9]\\d{8}","\\d{7,9}"]
2751
2751
  ,[,,"(?:[189]1|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}","\\d{7,9}",,,"112345678"]
2752
- ,[,,"7[125-8]\\d{7}","\\d{9}",,,"712345678"]
2752
+ ,[,,"7[0125-8]\\d{7}","\\d{9}",,,"712345678"]
2753
2753
  ,[,,"NA","NA"]
2754
2754
  ,[,,"NA","NA"]
2755
2755
  ,[,,"NA","NA"]
@@ -2825,7 +2825,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2825
2825
  ,,,[,,"NA","NA"]
2826
2826
  ]
2827
2827
  ,"LU":[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})","\\d{4,11}"]
2828
- ,[,,"(?:2(?:[259]\\d{2,9}|[346-8]\\d{3,6})|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}",,,"27123456"]
2828
+ ,[,,"(?:2[2-9]\\d{2,9}|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}",,,"27123456"]
2829
2829
  ,[,,"6[2679][18]\\d{6}","\\d{9}",,,"628123456"]
2830
2830
  ,[,,"800\\d{5}","\\d{8}",,,"80012345"]
2831
2831
  ,[,,"90[015]\\d{5}","\\d{8}",,,"90012345"]
@@ -2932,7 +2932,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2932
2932
  ]
2933
2933
  ,"MD":[,[,,"[235-9]\\d{7}","\\d{8}"]
2934
2934
  ,[,,"(?:2(?:1[0569]|2\\d|3[015-7]|4[1-46-9]|5[0-24689]|6[2-589]|7[1-37]|9[1347-9])|5(?:33|5[257]))\\d{5}","\\d{8}",,,"22212345"]
2935
- ,[,,"(?:562\\d|6(?:[089]\\d{2}|1[01]\\d|21\\d|50\\d|7(?:[1-6]\\d|7[0-4]))|7(?:6[07]|7[457-9]|[89]\\d)\\d)\\d{4}","\\d{8}",,,"65012345"]
2935
+ ,[,,"(?:562\\d|6(?:[089]\\d{2}|1[01]\\d|21\\d|7(?:[1-6]\\d|7[0-4]))|7(?:6[07]|7[457-9]|[89]\\d)\\d)\\d{4}","\\d{8}",,,"62112345"]
2936
2936
  ,[,,"800\\d{5}","\\d{8}",,,"80012345"]
2937
2937
  ,[,,"90[056]\\d{5}","\\d{8}",,,"90012345"]
2938
2938
  ,[,,"808\\d{5}","\\d{8}",,,"80812345"]
@@ -3054,7 +3054,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3054
3054
  ]
3055
3055
  ,"MM":[,[,,"[14578]\\d{5,7}|[26]\\d{5,8}|9(?:2\\d{0,2}|[58]|3\\d|4\\d{1,2}|6\\d?|[79]\\d{0,2})\\d{6}","\\d{5,10}"]
3056
3056
  ,[,,"1(?:2\\d{1,2}|[3-5]\\d|6\\d?|[89][0-6]\\d)\\d{4}|2(?:[236-9]\\d{4}|4(?:0\\d{5}|\\d{4})|5(?:1\\d{3,6}|[02-9]\\d{3,5}))|4(?:2[245-8]|[346][2-6]|5[3-5])\\d{4}|5(?:2(?:20?|[3-8])|3[2-68]|4(?:21?|[4-8])|5[23]|6[2-4]|7[2-8]|8[24-7]|9[2-7])\\d{4}|6(?:0[23]|1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7(?:[2367]|4\\d|5\\d?|8[145]\\d)|8[245]|9[24])\\d{4}|7(?:[04][24-8]|[15][2-7]|22|3[2-4])\\d{4}|8(?:1(?:2\\d?|[3-689])|2[2-8]|3[24]|4[24-7]|5[245]|6[23])\\d{4}","\\d{5,9}",,,"1234567"]
3057
- ,[,,"17[01]\\d{4}|9(?:2(?:[0-4]|5\\d{2})|3[136]\\d|4(?:0[0-4]\\d|[1379]\\d|[24][0-589]\\d|5\\d{2}|88)|5[0-6]|61?\\d|7(?:3\\d|9\\d{2})|8\\d|9(?:1\\d|7\\d{2}|[089]))\\d{5}","\\d{7,10}",,,"92123456"]
3057
+ ,[,,"17[01]\\d{4}|9(?:2(?:[0-4]|5\\d{2})|3[136]\\d|4(?:0[0-4]\\d|[1379]\\d|[24][0-589]\\d|5\\d{2}|88)|5[0-6]|61?\\d|7(?:3\\d|[89]\\d{2})|8\\d|9(?:1\\d|7\\d{2}|[089]))\\d{5}","\\d{7,10}",,,"92123456"]
3058
3058
  ,[,,"NA","NA"]
3059
3059
  ,[,,"NA","NA"]
3060
3060
  ,[,,"NA","NA"]
@@ -3212,7 +3212,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3212
3212
  ]
3213
3213
  ,"MV":[,[,,"[3467]\\d{6}|9(?:00\\d{7}|\\d{6})","\\d{7,10}"]
3214
3214
  ,[,,"(?:3(?:0[01]|3[0-59])|6(?:[567][02468]|8[024689]|90))\\d{4}","\\d{7}",,,"6701234"]
3215
- ,[,,"(?:46[46]|7[3-9]\\d|9[16-9]\\d)\\d{4}","\\d{7}",,,"7712345"]
3215
+ ,[,,"(?:46[46]|7[3-9]\\d|9[15-9]\\d)\\d{4}","\\d{7}",,,"7712345"]
3216
3216
  ,[,,"NA","NA"]
3217
3217
  ,[,,"900\\d{7}","\\d{10}",,,"9001234567"]
3218
3218
  ,[,,"NA","NA"]
@@ -3281,7 +3281,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3281
3281
  ]
3282
3282
  ,"MY":[,[,,"[13-9]\\d{7,9}","\\d{6,10}"]
3283
3283
  ,[,,"(?:3[2-9]\\d|[4-9][2-9])\\d{6}","\\d{6,9}",,,"323456789"]
3284
- ,[,,"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}",,,"123456789"]
3284
+ ,[,,"1(?:1[1-5]\\d{2}|[02-4679][2-9]\\d|59\\d{2}|8(?:1[23]|[2-9]\\d))\\d{5}","\\d{9,10}",,,"123456789"]
3285
3285
  ,[,,"1[378]00\\d{6}","\\d{10}",,,"1300123456"]
3286
3286
  ,[,,"1600\\d{6}","\\d{10}",,,"1600123456"]
3287
3287
  ,[,,"NA","NA"]
@@ -3654,7 +3654,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3654
3654
  ]
3655
3655
  ,"PH":[,[,,"2\\d{5,7}|[3-9]\\d{7,9}|1800\\d{7,9}","\\d{5,13}"]
3656
3656
  ,[,,"2\\d{5}(?:\\d{2})?|(?:3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578]|8[2-8])\\d{7}|88(?:22\\d{6}|42\\d{4})","\\d{5,10}",,,"21234567"]
3657
- ,[,,"(?:81[37]|9(?:0[5-9]|1[024-9]|2[0-35-9]|3[02-9]|4[236-9]|7[34-79]|89|9[4-9]))\\d{7}","\\d{10}",,,"9051234567"]
3657
+ ,[,,"(?:81[37]|9(?:0[5-9]|1[024-9]|2[0-35-9]|3[02-9]|4[236-9]|50|7[34-79]|89|9[4-9]))\\d{7}","\\d{10}",,,"9051234567"]
3658
3658
  ,[,,"1800\\d{7,9}","\\d{11,13}",,,"180012345678"]
3659
3659
  ,[,,"NA","NA"]
3660
3660
  ,[,,"NA","NA"]
@@ -3684,7 +3684,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3684
3684
  ]
3685
3685
  ,"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}"]
3686
3686
  ,[,,"(?: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}",,,"2123456789"]
3687
- ,[,,"3(?:0\\d|1[0-6]|2[0-5]|[34][0-7]|55|64)\\d{7}","\\d{10}",,,"3012345678"]
3687
+ ,[,,"3(?:0\\d|1[0-6]|2[0-5]|3[0-7]|4[0-8]|55|64)\\d{7}","\\d{10}",,,"3012345678"]
3688
3688
  ,[,,"800\\d{5}","\\d{8}",,,"80012345"]
3689
3689
  ,[,,"900\\d{5}","\\d{8}",,,"90012345"]
3690
3690
  ,[,,"NA","NA"]
@@ -4009,15 +4009,15 @@ i18n.phonenumbers.metadata.countryToMetadata = {
4009
4009
  ,[,,"NA","NA"]
4010
4010
  ,,,[,,"NA","NA"]
4011
4011
  ]
4012
- ,"SC":[,[,,"[24689]\\d{5,6}","\\d{6,7}"]
4012
+ ,"SC":[,[,,"[2468]\\d{5,6}","\\d{6,7}"]
4013
4013
  ,[,,"4[2-46]\\d{5}","\\d{7}",,,"4217123"]
4014
4014
  ,[,,"2[5-8]\\d{5}","\\d{7}",,,"2510123"]
4015
4015
  ,[,,"8000\\d{2}","\\d{6}",,,"800000"]
4016
- ,[,,"98\\d{4}","\\d{6}",,,"981234"]
4016
+ ,[,,"NA","NA"]
4017
4017
  ,[,,"NA","NA"]
4018
4018
  ,[,,"NA","NA"]
4019
4019
  ,[,,"64\\d{5}","\\d{7}",,,"6412345"]
4020
- ,"SC",248,"0[0-2]",,,,,,"00",,[[,"(\\d{3})(\\d{3})","$1 $2",["[89]"]
4020
+ ,"SC",248,"0[0-2]",,,,,,"00",,[[,"(\\d{3})(\\d{3})","$1 $2",["8"]
4021
4021
  ,"","",0]
4022
4022
  ,[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]"]
4023
4023
  ,"","",0]
@@ -4044,7 +4044,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
4044
4044
  ]
4045
4045
  ,"SE":[,[,,"[1-9]\\d{5,9}","\\d{5,10}"]
4046
4046
  ,[,,"1(?:0[1-8]\\d{6}|[136]\\d{5,7}|(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)\\d{5,6})|2(?:[136]\\d{5,7}|(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])\\d{5,6})|3(?:[356]\\d{5,7}|(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])\\d{5,6})|4(?:0[1-9]\\d{4,6}|[246]\\d{5,7}|(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])\\d{5,6})|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])\\d{5,6}|6(?:0[1-9]\\d{4,6}|3\\d{5,7}|(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])\\d{5,6})|8[1-9]\\d{5,7}|9(?:0[1-9]\\d{4,6}|(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8])\\d{5,6})","\\d{5,9}",,,"8123456"]
4047
- ,[,,"7[0236]\\d{7}","\\d{9}",,,"701234567"]
4047
+ ,[,,"7[02369]\\d{7}","\\d{9}",,,"701234567"]
4048
4048
  ,[,,"20(?:0(?:0\\d{2}|[1-9](?:0\\d{1,4}|[1-9]\\d{4}))|1(?:0\\d{4}|[1-9]\\d{4,5})|[2-9]\\d{5})","\\d{6,9}",,,"20123456"]
4049
4049
  ,[,,"9(?:00|39|44)(?:1(?:[0-26]\\d{5}|[3-57-9]\\d{2})|2(?:[0-2]\\d{5}|[3-9]\\d{2})|3(?:[0139]\\d{5}|[24-8]\\d{2})|4(?:[045]\\d{5}|[1-36-9]\\d{2})|5(?:5\\d{5}|[0-46-9]\\d{2})|6(?:[679]\\d{5}|[0-58]\\d{2})|7(?:[078]\\d{5}|[1-69]\\d{2})|8(?:[578]\\d{5}|[0-469]\\d{2}))","\\d{7}(?:\\d{3})?",,,"9001234567"]
4050
4050
  ,[,,"77(?:0(?:0\\d{2}|[1-9](?:0\\d|[1-9]\\d{4}))|[1-6][1-9]\\d{5})","\\d{6}(?:\\d{3})?",,,"771234567"]
@@ -597,7 +597,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
597
597
  ]
598
598
  ,"BB":[,[,,"[2589]\\d{9}","\\d{7}(?:\\d{3})?"]
599
599
  ,[,,"246[2-9]\\d{6}","\\d{7}(?:\\d{3})?"]
600
- ,[,,"246(?:(?:2[346]|45|82)\\d|25[0-4])\\d{4}","\\d{10}"]
600
+ ,[,,"246(?:(?:2[346]|45|82)\\d|25[0-46])\\d{4}","\\d{10}"]
601
601
  ,[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}"]
602
602
  ,[,,"900[2-9]\\d{6}","\\d{10}"]
603
603
  ,[,,"NA","NA"]
@@ -813,8 +813,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
813
813
  ,,,[,,"NA","NA"]
814
814
  ]
815
815
  ,"BR":[,[,,"[1-46-9]\\d{7,10}|5\\d{8,9}","\\d{8,11}"]
816
- ,[,,"1[1-9][2-5]\\d{7}|(?:[4689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}","\\d{8,11}"]
817
- ,[,,"1[1-9](?:7|9\\d)\\d{7}|(?:2[12478]|9[1-9])9?[6-9]\\d{7}|(?:3[1-578]|[468][1-9]|5[13-5]|7[13-579])[6-9]\\d{7}","\\d{10,11}"]
816
+ ,[,,"1[1-9][2-5]\\d{7}|(?:[4689][1-9]|2[12478]|3[1-578]|5[1-5]|7[13-579])[2-5]\\d{7}","\\d{8,11}"]
817
+ ,[,,"1[1-9](?:7|9\\d)\\d{7}|(?:2[12478]|[89][1-9])9?[6-9]\\d{7}|(?:3[1-578]|[46][1-9]|5[1-5]|7[13-579])[6-9]\\d{7}","\\d{10,11}"]
818
818
  ,[,,"800\\d{6,7}","\\d{8,11}"]
819
819
  ,[,,"[359]00\\d{6,7}","\\d{8,11}"]
820
820
  ,[,,"[34]00\\d{5}","\\d{8}"]
@@ -826,7 +826,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
826
826
  ,"$1","",0]
827
827
  ,[,"(\\d{3,5})","$1",["1[125689]"]
828
828
  ,"$1","",0]
829
- ,[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:1[1-9]|2[12478]|9[1-9])9"]
829
+ ,[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:[189][1-9]|2[12478])9"]
830
830
  ,"($1)","0 $CC ($1)",0]
831
831
  ,[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"]
832
832
  ,"($1)","0 $CC ($1)",0]
@@ -835,7 +835,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
835
835
  ,[,"([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"]
836
836
  ,"0$1","",0]
837
837
  ]
838
- ,[[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:1[1-9]|2[12478]|9[1-9])9"]
838
+ ,[[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:[189][1-9]|2[12478])9"]
839
839
  ,"($1)","0 $CC ($1)",0]
840
840
  ,[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"]
841
841
  ,"($1)","0 $CC ($1)",0]
@@ -1239,7 +1239,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1239
1239
  ,[,,"90[059]\\d{7}","\\d{10}"]
1240
1240
  ,[,,"NA","NA"]
1241
1241
  ,[,,"NA","NA"]
1242
- ,[,,"210[0-6]\\d{4}|4(?:0(?:0[01]\\d{4}|10[0-3]\\d{3}|2(?:00\\d{3}|900\\d{2})|3[01]\\d{4}|40\\d{4}|5\\d{5}|60\\d{4}|70[01]\\d{3}|8[0-2]\\d{4})|1[01]\\d{5}|20[0-3]\\d{4}|400\\d{4}|70[0-2]\\d{4})|5100\\d{4}","\\d{8}"]
1242
+ ,[,,"210[0-6]\\d{4}|4\\d{7}|5100\\d{4}","\\d{8}"]
1243
1243
  ,"CR",506,"00",,,,"(19(?:0[012468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[24-7]|8[3-9]"]
1244
1244
  ,"","$CC $1",0]
1245
1245
  ,[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]0"]
@@ -2121,7 +2121,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2121
2121
  ,,,[,,"NA","NA"]
2122
2122
  ]
2123
2123
  ,"ID":[,[,,"[1-9]\\d{6,10}","\\d{5,11}"]
2124
- ,[,,"2(?:1(?:14\\d{3}|[0-8]\\d{6,7}|500\\d{3}|9\\d{6})|2\\d{6,8}|4\\d{7,8})|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|2[1-8]|3[1-68]|4[1-3]|5[1-8]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:19?|[25]\\d|3[1-69]|4[1-6])|7(?:02|1[1-9]|2[1-9]|[36]\\d|4[1-8]|5[1-9]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}","\\d{5,11}"]
2124
+ ,[,,"2(?:1(?:14\\d{3}|[0-8]\\d{6,7}|500\\d{3}|9\\d{6})|2\\d{6,8}|4\\d{7,8})|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:19?|[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}","\\d{5,11}"]
2125
2125
  ,[,,"(?:2(?:1(?:3[145]|4[01]|5[1-469]|60|8[0359]|9\\d)|2(?:88|9[1256])|3[1-4]9|4(?:36|91)|5(?:1[349]|[2-4]9)|6[0-7]9|7(?:[1-36]9|4[39])|8[1-5]9|9[1-48]9)|3(?:19[1-3]|2[12]9|3[13]9|4(?:1[69]|39)|5[14]9|6(?:1[69]|2[89])|709)|4[13]19|5(?:1(?:19|8[39])|4[129]9|6[12]9)|6(?:19[12]|2(?:[23]9|77))|7(?:1[13]9|2[15]9|419|5(?:1[89]|29)|6[15]9|7[178]9))\\d{5,6}|8[1-35-9]\\d{7,9}","\\d{9,11}"]
2126
2126
  ,[,,"177\\d{6,8}|800\\d{5,7}","\\d{8,11}"]
2127
2127
  ,[,,"809\\d{7}","\\d{10}"]
@@ -2180,7 +2180,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2180
2180
  ]
2181
2181
  ,"IL":[,[,,"[17]\\d{6,9}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}","\\d{4,10}"]
2182
2182
  ,[,,"[2-489]\\d{7}","\\d{7,8}"]
2183
- ,[,,"5(?:[02347-9]\\d{2}|5(?:01|2[23]|3[34]|4[45]|5[5689]|6[67]|7[0178]|8[89]|9[7-9])|6[2-9]\\d)\\d{5}","\\d{9}"]
2183
+ ,[,,"5(?:[02347-9]\\d{2}|5(?:01|2[23]|3[34]|4[45]|5[5689]|6[67]|7[0178]|[89][7-9])|6[2-9]\\d)\\d{5}","\\d{9}"]
2184
2184
  ,[,,"1(?:80[019]\\d{3}|255)\\d{3}","\\d{7,10}"]
2185
2185
  ,[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}","\\d{8,10}"]
2186
2186
  ,[,,"1700\\d{6}","\\d{10}"]
@@ -2394,8 +2394,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2394
2394
  ,[,,"NA","NA"]
2395
2395
  ,,,[,,"NA","NA"]
2396
2396
  ]
2397
- ,"JO":[,[,,"[235-9]\\d{7,8}","\\d{7,9}"]
2398
- ,[,,"(?:2(?:6(?:2[0-35-9]|3[0-57-8]|4[24-7]|5[0-24-8]|[6-8][02]|9[0-2])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-2]|[57][02]|60)|53(?:0[0-2]|[13][02]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2[50]0|300|4(?:0[0125]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[17-8]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[02-39]))|87(?:[02]0|7[08]|9[09]))\\d{4}","\\d{7,8}"]
2397
+ ,"JO":[,[,,"[235-9]\\d{7,8}","\\d{8,9}"]
2398
+ ,[,,"(?:2(?:6(?:2[0-35-9]|3[0-57-8]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[57][023]|6[03])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2[50]0|3(?:00|33)|4(?:0[0125]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[17-8]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[02-39]))|87(?:[02]0|7[08]|90))\\d{4}","\\d{8}"]
2399
2399
  ,[,,"7(?:55|7[25-9]|8[05-9]|9[0-25-9])\\d{6}","\\d{9}"]
2400
2400
  ,[,,"80\\d{6}","\\d{8}"]
2401
2401
  ,[,,"900\\d{5}","\\d{8}"]
@@ -2634,15 +2634,15 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2634
2634
  ]
2635
2635
  ,"KW":[,[,,"[12569]\\d{6,7}","\\d{7,8}"]
2636
2636
  ,[,,"(?:18\\d|2(?:[23]\\d{2}|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7])))\\d{4}","\\d{7,8}"]
2637
- ,[,,"(?:5(?:[05]\\d|1[0-7])|6(?:0[034679]|5[015-9]|6\\d|7[067]|9[0369])|9(?:0[09]|4[049]|55|6[069]|[79]\\d|8[07-9]))\\d{5}","\\d{8}"]
2637
+ ,[,,"(?:5(?:[05]\\d|1[0-7])|6(?:0[034679]|5[015-9]|6\\d|7[067]|9[0369])|9(?:0[09]|22|4[049]|55|6[069]|[79]\\d|8[07-9]))\\d{5}","\\d{8}"]
2638
2638
  ,[,,"NA","NA"]
2639
2639
  ,[,,"NA","NA"]
2640
2640
  ,[,,"NA","NA"]
2641
2641
  ,[,,"NA","NA"]
2642
2642
  ,[,,"NA","NA"]
2643
- ,"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[1269]"]
2643
+ ,"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[126]|9[04-9]"]
2644
2644
  ,"","",0]
2645
- ,[,"(5[015]\\d)(\\d{5})","$1 $2",["5"]
2645
+ ,[,"(\\d{3})(\\d{5})","$1 $2",["5[015]|92"]
2646
2646
  ,"","",0]
2647
2647
  ]
2648
2648
  ,,[,,"NA","NA"]
@@ -2749,7 +2749,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2749
2749
  ]
2750
2750
  ,"LK":[,[,,"[1-9]\\d{8}","\\d{7,9}"]
2751
2751
  ,[,,"(?:[189]1|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}","\\d{7,9}"]
2752
- ,[,,"7[125-8]\\d{7}","\\d{9}"]
2752
+ ,[,,"7[0125-8]\\d{7}","\\d{9}"]
2753
2753
  ,[,,"NA","NA"]
2754
2754
  ,[,,"NA","NA"]
2755
2755
  ,[,,"NA","NA"]
@@ -2825,7 +2825,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2825
2825
  ,,,[,,"NA","NA"]
2826
2826
  ]
2827
2827
  ,"LU":[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})","\\d{4,11}"]
2828
- ,[,,"(?:2(?:[259]\\d{2,9}|[346-8]\\d{3,6})|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}"]
2828
+ ,[,,"(?:2[2-9]\\d{2,9}|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}"]
2829
2829
  ,[,,"6[2679][18]\\d{6}","\\d{9}"]
2830
2830
  ,[,,"800\\d{5}","\\d{8}"]
2831
2831
  ,[,,"90[015]\\d{5}","\\d{8}"]
@@ -2932,7 +2932,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2932
2932
  ]
2933
2933
  ,"MD":[,[,,"[235-9]\\d{7}","\\d{8}"]
2934
2934
  ,[,,"(?:2(?:1[0569]|2\\d|3[015-7]|4[1-46-9]|5[0-24689]|6[2-589]|7[1-37]|9[1347-9])|5(?:33|5[257]))\\d{5}","\\d{8}"]
2935
- ,[,,"(?:562\\d|6(?:[089]\\d{2}|1[01]\\d|21\\d|50\\d|7(?:[1-6]\\d|7[0-4]))|7(?:6[07]|7[457-9]|[89]\\d)\\d)\\d{4}","\\d{8}"]
2935
+ ,[,,"(?:562\\d|6(?:[089]\\d{2}|1[01]\\d|21\\d|7(?:[1-6]\\d|7[0-4]))|7(?:6[07]|7[457-9]|[89]\\d)\\d)\\d{4}","\\d{8}"]
2936
2936
  ,[,,"800\\d{5}","\\d{8}"]
2937
2937
  ,[,,"90[056]\\d{5}","\\d{8}"]
2938
2938
  ,[,,"808\\d{5}","\\d{8}"]
@@ -3054,7 +3054,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3054
3054
  ]
3055
3055
  ,"MM":[,[,,"[14578]\\d{5,7}|[26]\\d{5,8}|9(?:2\\d{0,2}|[58]|3\\d|4\\d{1,2}|6\\d?|[79]\\d{0,2})\\d{6}","\\d{5,10}"]
3056
3056
  ,[,,"1(?:2\\d{1,2}|[3-5]\\d|6\\d?|[89][0-6]\\d)\\d{4}|2(?:[236-9]\\d{4}|4(?:0\\d{5}|\\d{4})|5(?:1\\d{3,6}|[02-9]\\d{3,5}))|4(?:2[245-8]|[346][2-6]|5[3-5])\\d{4}|5(?:2(?:20?|[3-8])|3[2-68]|4(?:21?|[4-8])|5[23]|6[2-4]|7[2-8]|8[24-7]|9[2-7])\\d{4}|6(?:0[23]|1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7(?:[2367]|4\\d|5\\d?|8[145]\\d)|8[245]|9[24])\\d{4}|7(?:[04][24-8]|[15][2-7]|22|3[2-4])\\d{4}|8(?:1(?:2\\d?|[3-689])|2[2-8]|3[24]|4[24-7]|5[245]|6[23])\\d{4}","\\d{5,9}"]
3057
- ,[,,"17[01]\\d{4}|9(?:2(?:[0-4]|5\\d{2})|3[136]\\d|4(?:0[0-4]\\d|[1379]\\d|[24][0-589]\\d|5\\d{2}|88)|5[0-6]|61?\\d|7(?:3\\d|9\\d{2})|8\\d|9(?:1\\d|7\\d{2}|[089]))\\d{5}","\\d{7,10}"]
3057
+ ,[,,"17[01]\\d{4}|9(?:2(?:[0-4]|5\\d{2})|3[136]\\d|4(?:0[0-4]\\d|[1379]\\d|[24][0-589]\\d|5\\d{2}|88)|5[0-6]|61?\\d|7(?:3\\d|[89]\\d{2})|8\\d|9(?:1\\d|7\\d{2}|[089]))\\d{5}","\\d{7,10}"]
3058
3058
  ,[,,"NA","NA"]
3059
3059
  ,[,,"NA","NA"]
3060
3060
  ,[,,"NA","NA"]
@@ -3212,7 +3212,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3212
3212
  ]
3213
3213
  ,"MV":[,[,,"[3467]\\d{6}|9(?:00\\d{7}|\\d{6})","\\d{7,10}"]
3214
3214
  ,[,,"(?:3(?:0[01]|3[0-59])|6(?:[567][02468]|8[024689]|90))\\d{4}","\\d{7}"]
3215
- ,[,,"(?:46[46]|7[3-9]\\d|9[16-9]\\d)\\d{4}","\\d{7}"]
3215
+ ,[,,"(?:46[46]|7[3-9]\\d|9[15-9]\\d)\\d{4}","\\d{7}"]
3216
3216
  ,[,,"NA","NA"]
3217
3217
  ,[,,"900\\d{7}","\\d{10}"]
3218
3218
  ,[,,"NA","NA"]
@@ -3281,7 +3281,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3281
3281
  ]
3282
3282
  ,"MY":[,[,,"[13-9]\\d{7,9}","\\d{6,10}"]
3283
3283
  ,[,,"(?:3[2-9]\\d|[4-9][2-9])\\d{6}","\\d{6,9}"]
3284
- ,[,,"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}"]
3284
+ ,[,,"1(?:1[1-5]\\d{2}|[02-4679][2-9]\\d|59\\d{2}|8(?:1[23]|[2-9]\\d))\\d{5}","\\d{9,10}"]
3285
3285
  ,[,,"1[378]00\\d{6}","\\d{10}"]
3286
3286
  ,[,,"1600\\d{6}","\\d{10}"]
3287
3287
  ,[,,"NA","NA"]
@@ -3654,7 +3654,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3654
3654
  ]
3655
3655
  ,"PH":[,[,,"2\\d{5,7}|[3-9]\\d{7,9}|1800\\d{7,9}","\\d{5,13}"]
3656
3656
  ,[,,"2\\d{5}(?:\\d{2})?|(?:3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578]|8[2-8])\\d{7}|88(?:22\\d{6}|42\\d{4})","\\d{5,10}"]
3657
- ,[,,"(?:81[37]|9(?:0[5-9]|1[024-9]|2[0-35-9]|3[02-9]|4[236-9]|7[34-79]|89|9[4-9]))\\d{7}","\\d{10}"]
3657
+ ,[,,"(?:81[37]|9(?:0[5-9]|1[024-9]|2[0-35-9]|3[02-9]|4[236-9]|50|7[34-79]|89|9[4-9]))\\d{7}","\\d{10}"]
3658
3658
  ,[,,"1800\\d{7,9}","\\d{11,13}"]
3659
3659
  ,[,,"NA","NA"]
3660
3660
  ,[,,"NA","NA"]
@@ -3684,7 +3684,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3684
3684
  ]
3685
3685
  ,"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}"]
3686
3686
  ,[,,"(?: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}"]
3687
- ,[,,"3(?:0\\d|1[0-6]|2[0-5]|[34][0-7]|55|64)\\d{7}","\\d{10}"]
3687
+ ,[,,"3(?:0\\d|1[0-6]|2[0-5]|3[0-7]|4[0-8]|55|64)\\d{7}","\\d{10}"]
3688
3688
  ,[,,"800\\d{5}","\\d{8}"]
3689
3689
  ,[,,"900\\d{5}","\\d{8}"]
3690
3690
  ,[,,"NA","NA"]
@@ -4009,15 +4009,15 @@ i18n.phonenumbers.metadata.countryToMetadata = {
4009
4009
  ,[,,"NA","NA"]
4010
4010
  ,,,[,,"NA","NA"]
4011
4011
  ]
4012
- ,"SC":[,[,,"[24689]\\d{5,6}","\\d{6,7}"]
4012
+ ,"SC":[,[,,"[2468]\\d{5,6}","\\d{6,7}"]
4013
4013
  ,[,,"4[2-46]\\d{5}","\\d{7}"]
4014
4014
  ,[,,"2[5-8]\\d{5}","\\d{7}"]
4015
4015
  ,[,,"8000\\d{2}","\\d{6}"]
4016
- ,[,,"98\\d{4}","\\d{6}"]
4016
+ ,[,,"NA","NA"]
4017
4017
  ,[,,"NA","NA"]
4018
4018
  ,[,,"NA","NA"]
4019
4019
  ,[,,"64\\d{5}","\\d{7}"]
4020
- ,"SC",248,"0[0-2]",,,,,,"00",,[[,"(\\d{3})(\\d{3})","$1 $2",["[89]"]
4020
+ ,"SC",248,"0[0-2]",,,,,,"00",,[[,"(\\d{3})(\\d{3})","$1 $2",["8"]
4021
4021
  ,"","",0]
4022
4022
  ,[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]"]
4023
4023
  ,"","",0]
@@ -4044,7 +4044,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
4044
4044
  ]
4045
4045
  ,"SE":[,[,,"[1-9]\\d{5,9}","\\d{5,10}"]
4046
4046
  ,[,,"1(?:0[1-8]\\d{6}|[136]\\d{5,7}|(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)\\d{5,6})|2(?:[136]\\d{5,7}|(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])\\d{5,6})|3(?:[356]\\d{5,7}|(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])\\d{5,6})|4(?:0[1-9]\\d{4,6}|[246]\\d{5,7}|(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])\\d{5,6})|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])\\d{5,6}|6(?:0[1-9]\\d{4,6}|3\\d{5,7}|(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])\\d{5,6})|8[1-9]\\d{5,7}|9(?:0[1-9]\\d{4,6}|(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8])\\d{5,6})","\\d{5,9}"]
4047
- ,[,,"7[0236]\\d{7}","\\d{9}"]
4047
+ ,[,,"7[02369]\\d{7}","\\d{9}"]
4048
4048
  ,[,,"20(?:0(?:0\\d{2}|[1-9](?:0\\d{1,4}|[1-9]\\d{4}))|1(?:0\\d{4}|[1-9]\\d{4,5})|[2-9]\\d{5})","\\d{6,9}"]
4049
4049
  ,[,,"9(?:00|39|44)(?:1(?:[0-26]\\d{5}|[3-57-9]\\d{2})|2(?:[0-2]\\d{5}|[3-9]\\d{2})|3(?:[0139]\\d{5}|[24-8]\\d{2})|4(?:[045]\\d{5}|[1-36-9]\\d{2})|5(?:5\\d{5}|[0-46-9]\\d{2})|6(?:[679]\\d{5}|[0-58]\\d{2})|7(?:[078]\\d{5}|[1-69]\\d{2})|8(?:[578]\\d{5}|[0-469]\\d{2}))","\\d{7}(?:\\d{3})?"]
4050
4050
  ,[,,"77(?:0(?:0\\d{2}|[1-9](?:0\\d|[1-9]\\d{4}))|[1-6][1-9]\\d{5})","\\d{6}(?:\\d{3})?"]
@@ -1960,6 +1960,7 @@
1960
1960
  <exampleNumber>2462345678</exampleNumber>
1961
1961
  </fixedLine>
1962
1962
  <mobile>
1963
+ <!-- Prefix 256 was added from bug report. -->
1963
1964
  <nationalNumberPattern>
1964
1965
  246(?:
1965
1966
  (?:
@@ -1967,7 +1968,7 @@
1967
1968
  45|
1968
1969
  82
1969
1970
  )\d|
1970
- 25[0-4]
1971
+ 25[0-46]
1971
1972
  )\d{4}
1972
1973
  </nationalNumberPattern>
1973
1974
  <possibleNumberPattern>\d{10}</possibleNumberPattern>
@@ -3170,9 +3171,8 @@
3170
3171
  carrierCodeFormattingRule="$NP $CC ($FG)">
3171
3172
  <leadingDigits>
3172
3173
  (?:
3173
- 1[1-9]|
3174
- 2[12478]|
3175
- 9[1-9]
3174
+ [189][1-9]|
3175
+ 2[12478]
3176
3176
  )9
3177
3177
  </leadingDigits>
3178
3178
  <format>$1 $2-$3</format>
@@ -3217,7 +3217,7 @@
3217
3217
  [4689][1-9]|
3218
3218
  2[12478]|
3219
3219
  3[1-578]|
3220
- 5[13-5]|
3220
+ 5[1-5]|
3221
3221
  7[13-579]
3222
3222
  )[2-5]\d{7}
3223
3223
  </nationalNumberPattern>
@@ -3228,7 +3228,7 @@
3228
3228
  last 8 digits. The following pattern is divided into 3 sections: ranges for which the
3229
3229
  migration has been completed, ranges which are in transition, and ranges which are
3230
3230
  still in the old format. (Ranges which were supposed to have been deprecated in
3231
- Oct. 2013 are still working as of Jan. 2014.) Note that mobile radio services are
3231
+ Oct. 2013 are still working as of May 2015.) Note that mobile radio services are
3232
3232
  still 10 digits, with the subscriber number (the last 8 digits) beginning with 7. -->
3233
3233
  <nationalNumberPattern>
3234
3234
  1[1-9](?:
@@ -3237,12 +3237,12 @@
3237
3237
  )\d{7}|
3238
3238
  (?:
3239
3239
  2[12478]|
3240
- 9[1-9]
3240
+ [89][1-9]
3241
3241
  )9?[6-9]\d{7}|
3242
3242
  (?:
3243
3243
  3[1-578]|
3244
- [468][1-9]|
3245
- 5[13-5]|
3244
+ [46][1-9]|
3245
+ 5[1-5]|
3246
3246
  7[13-579]
3247
3247
  )[6-9]\d{7}
3248
3248
  </nationalNumberPattern>
@@ -5086,6 +5086,7 @@
5086
5086
  carrierCodeFormattingRule="$CC $FG">
5087
5087
  <references>
5088
5088
  <sourceUrl>http://www.itu.int/oth/T0202000030/en</sourceUrl>
5089
+ <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Costa_Rica</sourceUrl>
5089
5090
  </references>
5090
5091
  <availableFormats>
5091
5092
  <numberFormat pattern="(\d{4})(\d{4})">
@@ -5137,30 +5138,12 @@
5137
5138
  <exampleNumber>9001234567</exampleNumber>
5138
5139
  </premiumRate>
5139
5140
  <voip>
5140
- <!-- Including trunking service numbers starting with 5100. 4001 (callmyway.com) was added
5141
- from an open-source bug report supported by numbers found online. -->
5141
+ <!-- Including trunking service numbers starting with 5100. -->
5142
+ <!-- Prefixes for VOIP simplified from wikipidea 4xxx xxxx -->
5143
+ <!-- Prefix 210x xxxx present before, taken from ITU doc -->
5142
5144
  <nationalNumberPattern>
5143
5145
  210[0-6]\d{4}|
5144
- 4(?:
5145
- 0(?:
5146
- 0[01]\d{4}|
5147
- 10[0-3]\d{3}|
5148
- 2(?:
5149
- 00\d{3}|
5150
- 900\d{2}
5151
- )|
5152
- 3[01]\d{4}|
5153
- 40\d{4}|
5154
- 5\d{5}|
5155
- 60\d{4}|
5156
- 70[01]\d{3}|
5157
- 8[0-2]\d{4}
5158
- )|
5159
- 1[01]\d{5}|
5160
- 20[0-3]\d{4}|
5161
- 400\d{4}|
5162
- 70[0-2]\d{4}
5163
- )|
5146
+ 4\d{7}|
5164
5147
  5100\d{4}
5165
5148
  </nationalNumberPattern>
5166
5149
  <possibleNumberPattern>\d{8}</possibleNumberPattern>
@@ -9584,10 +9567,9 @@
9584
9567
  )|
9585
9568
  3(?:
9586
9569
  1|
9587
- 2[1-8]|
9570
+ [25][1-8]|
9588
9571
  3[1-68]|
9589
9572
  4[1-3]|
9590
- 5[1-8]|
9591
9573
  6[1-3568]|
9592
9574
  7[0-469]|
9593
9575
  8\d
@@ -9619,11 +9601,9 @@
9619
9601
  )|
9620
9602
  7(?:
9621
9603
  02|
9622
- 1[1-9]|
9623
- 2[1-9]|
9604
+ [125][1-9]|
9624
9605
  [36]\d|
9625
9606
  4[1-8]|
9626
- 5[1-9]|
9627
9607
  7[0-36-9]
9628
9608
  )|
9629
9609
  9(?:
@@ -10015,8 +9995,7 @@
10015
9995
  5[5689]|
10016
9996
  6[67]|
10017
9997
  7[0178]|
10018
- 8[89]|
10019
- 9[7-9]
9998
+ [89][7-9]
10020
9999
  )|
10021
10000
  6[2-9]\d
10022
10001
  )\d{5}
@@ -11709,7 +11688,7 @@
11709
11688
  </availableFormats>
11710
11689
  <generalDesc>
11711
11690
  <nationalNumberPattern>[235-9]\d{7,8}</nationalNumberPattern>
11712
- <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11691
+ <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
11713
11692
  </generalDesc>
11714
11693
  <fixedLine>
11715
11694
  <nationalNumberPattern>
@@ -11720,8 +11699,8 @@
11720
11699
  3[0-57-8]|
11721
11700
  4[24-7]|
11722
11701
  5[0-24-8]|
11723
- [6-8][02]|
11724
- 9[0-2]
11702
+ [6-8][023]|
11703
+ 9[0-3]
11725
11704
  )|
11726
11705
  7(?:
11727
11706
  0[1-79]|
@@ -11737,13 +11716,13 @@
11737
11716
  1[1-35-7]|
11738
11717
  2[024-7]|
11739
11718
  3\d|
11740
- 4[0-2]|
11741
- [57][02]|
11742
- 60
11719
+ 4[0-3]|
11720
+ [57][023]|
11721
+ 6[03]
11743
11722
  )|
11744
11723
  53(?:
11745
- 0[0-2]|
11746
- [13][02]|
11724
+ 0[0-3]|
11725
+ [13][023]|
11747
11726
  2[0-59]|
11748
11727
  49|
11749
11728
  5[0-35-9]|
@@ -11754,7 +11733,10 @@
11754
11733
  )|
11755
11734
  6(?:
11756
11735
  2[50]0|
11757
- 300|
11736
+ 3(?:
11737
+ 00|
11738
+ 33
11739
+ )|
11758
11740
  4(?:
11759
11741
  0[0125]|
11760
11742
  1[2-7]|
@@ -11780,11 +11762,11 @@
11780
11762
  87(?:
11781
11763
  [02]0|
11782
11764
  7[08]|
11783
- 9[09]
11765
+ 90
11784
11766
  )
11785
11767
  )\d{4}
11786
11768
  </nationalNumberPattern>
11787
- <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
11769
+ <possibleNumberPattern>\d{8}</possibleNumberPattern>
11788
11770
  <exampleNumber>62001234</exampleNumber>
11789
11771
  </fixedLine>
11790
11772
  <mobile>
@@ -13589,11 +13571,17 @@
13589
13571
  <availableFormats>
13590
13572
  <!-- Format is from ITU. -->
13591
13573
  <numberFormat pattern="(\d{4})(\d{3,4})">
13592
- <leadingDigits>[1269]</leadingDigits>
13574
+ <leadingDigits>
13575
+ [126]|
13576
+ 9[04-9]
13577
+ </leadingDigits>
13593
13578
  <format>$1 $2</format>
13594
13579
  </numberFormat>
13595
- <numberFormat pattern="(5[015]\d)(\d{5})">
13596
- <leadingDigits>5</leadingDigits>
13580
+ <numberFormat pattern="(\d{3})(\d{5})">
13581
+ <leadingDigits>
13582
+ 5[015]|
13583
+ 92
13584
+ </leadingDigits>
13597
13585
  <format>$1 $2</format>
13598
13586
  </numberFormat>
13599
13587
  </availableFormats>
@@ -13639,6 +13627,7 @@
13639
13627
  )|
13640
13628
  9(?:
13641
13629
  0[09]|
13630
+ 22|
13642
13631
  4[049]|
13643
13632
  55|
13644
13633
  6[069]|
@@ -14310,7 +14299,9 @@
14310
14299
  </fixedLine>
14311
14300
  <mobile>
14312
14301
  <!-- Adding the prefix 76 for Dialog, based on information from open-source users. -->
14313
- <nationalNumberPattern>7[125-8]\d{7}</nationalNumberPattern>
14302
+ <!-- Adding Prefix 702 and 703 based on update from Mobitel which has verified these
14303
+ prefixes to be correct. -->
14304
+ <nationalNumberPattern>7[0125-8]\d{7}</nationalNumberPattern>
14314
14305
  <possibleNumberPattern>\d{9}</possibleNumberPattern>
14315
14306
  <exampleNumber>712345678</exampleNumber>
14316
14307
  </mobile>
@@ -14576,6 +14567,9 @@
14576
14567
  </leadingDigits>
14577
14568
  <format>$1 $2 $3 $4 $5</format>
14578
14569
  </numberFormat>
14570
+ <!-- We consider numbers starting with 240 and 249 valid, but we do not format them, as we
14571
+ found no examples of such numbers online.
14572
+ -->
14579
14573
  <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,4})">
14580
14574
  <leadingDigits>
14581
14575
  2(?:
@@ -14624,13 +14618,11 @@
14624
14618
  <!-- Even though 20 is listed in the fixed-line plan, other documentation clarify that it is
14625
14619
  for VOIP. Furthermore, even though the plan says that numbers beginning with 2[346-8]
14626
14620
  by default are 8 digits, from information found online it seems that they can actually
14627
- be 5, 6 or 7 digits long. -->
14621
+ be 4 up to 11 digits long. -->
14628
14622
  <nationalNumberPattern>
14629
14623
  (?:
14630
- 2(?:
14631
- [259]\d{2,9}|
14632
- [346-8]\d{3,6}
14633
- )|
14624
+ 2[2-9]\d{2,9}
14625
+ |
14634
14626
  (?:
14635
14627
  [3457]\d{2}|
14636
14628
  8(?:
@@ -15023,7 +15015,6 @@
15023
15015
  [089]\d{2}|
15024
15016
  1[01]\d|
15025
15017
  21\d|
15026
- 50\d|
15027
15018
  7(?:
15028
15019
  [1-6]\d|
15029
15020
  7[0-4]
@@ -15036,7 +15027,7 @@
15036
15027
  )\d
15037
15028
  )\d{4}
15038
15029
  </nationalNumberPattern>
15039
- <exampleNumber>65012345</exampleNumber>
15030
+ <exampleNumber>62112345</exampleNumber>
15040
15031
  </mobile>
15041
15032
  <tollFree>
15042
15033
  <nationalNumberPattern>800\d{5}</nationalNumberPattern>
@@ -15614,7 +15605,7 @@
15614
15605
  <exampleNumber>1234567</exampleNumber>
15615
15606
  </fixedLine>
15616
15607
  <mobile>
15617
- <!-- Added 99[089] (8 digits), 961 (9 digits), and 979 & 997 (10 digits) from bug
15608
+ <!-- Added 99[089] (8 digits), 961 (9 digits), and 978, 979 & 997 (10 digits) from bug
15618
15609
  reports/numbers found online. -->
15619
15610
  <nationalNumberPattern>
15620
15611
  17[01]\d{4}|
@@ -15635,7 +15626,7 @@
15635
15626
  61?\d|
15636
15627
  7(?:
15637
15628
  3\d|
15638
- 9\d{2}
15629
+ [89]\d{2}
15639
15630
  )|
15640
15631
  8\d|
15641
15632
  9(?:
@@ -16291,13 +16282,13 @@
16291
16282
  </fixedLine>
16292
16283
  <mobile>
16293
16284
  <!-- 7[45] has been added as many numbers online have been found with this prefix. 46[46]
16294
- are new prefixes for Dhiraagu and Wataniya, used currently for SMS-based services.
16295
- 91 was added based on information from Wataniya Telecom. -->
16285
+ are new prefixes for Dhiraagu and Ooredoo, used currently for SMS-based services.
16286
+ 91 and 95 were added based on information from Ooredoo Telecom. -->
16296
16287
  <nationalNumberPattern>
16297
16288
  (?:
16298
16289
  46[46]|
16299
16290
  7[3-9]\d|
16300
- 9[16-9]\d
16291
+ 9[15-9]\d
16301
16292
  )\d{4}
16302
16293
  </nationalNumberPattern>
16303
16294
  <possibleNumberPattern>\d{7}</possibleNumberPattern>
@@ -16655,10 +16646,10 @@
16655
16646
  <mobile>
16656
16647
  <!-- Although the plan lists the prefix 159 as broadband services (data only), apparently it
16657
16648
  is possible to send SMSs (and receive them) from numbers in this block, so we are
16658
- listing them as mobile. 115 was added based on numbers found online. -->
16649
+ listing them as mobile. 11[45] was added based on numbers found online. -->
16659
16650
  <nationalNumberPattern>
16660
16651
  1(?:
16661
- 1[1-35]\d{2}|
16652
+ 1[1-5]\d{2}|
16662
16653
  [02-4679][2-9]\d|
16663
16654
  59\d{2}|
16664
16655
  8(?:
@@ -18339,6 +18330,7 @@
18339
18330
  <exampleNumber>21234567</exampleNumber>
18340
18331
  </fixedLine>
18341
18332
  <mobile>
18333
+ <!-- 950 added based on info received from Smart. -->
18342
18334
  <nationalNumberPattern>
18343
18335
  (?:
18344
18336
  81[37]|
@@ -18348,6 +18340,7 @@
18348
18340
  2[0-35-9]|
18349
18341
  3[02-9]|
18350
18342
  4[236-9]|
18343
+ 50|
18351
18344
  7[34-79]|
18352
18345
  89|
18353
18346
  9[4-9]
@@ -18585,13 +18578,14 @@
18585
18578
  <mobile>
18586
18579
  <!-- Adding 311, 325 and 320 as SMSs have been successfully sent to these numbers and numbers
18587
18580
  can be found online with these prefixes. Added 310 based on information from Zong, and
18588
- 316 based on information found online. -->
18581
+ 316 and 348 based on information found online. -->
18589
18582
  <nationalNumberPattern>
18590
18583
  3(?:
18591
18584
  0\d|
18592
18585
  1[0-6]|
18593
18586
  2[0-5]|
18594
- [34][0-7]|
18587
+ 3[0-7]|
18588
+ 4[0-8]|
18595
18589
  55|
18596
18590
  64
18597
18591
  )\d{7}
@@ -19876,7 +19870,7 @@
19876
19870
  </references>
19877
19871
  <availableFormats>
19878
19872
  <numberFormat pattern="(\d{3})(\d{3})">
19879
- <leadingDigits>[89]</leadingDigits>
19873
+ <leadingDigits>8</leadingDigits>
19880
19874
  <format>$1 $2</format>
19881
19875
  </numberFormat>
19882
19876
  <numberFormat pattern="(\d)(\d{3})(\d{3})">
@@ -19885,7 +19879,7 @@
19885
19879
  </numberFormat>
19886
19880
  </availableFormats>
19887
19881
  <generalDesc>
19888
- <nationalNumberPattern>[24689]\d{5,6}</nationalNumberPattern>
19882
+ <nationalNumberPattern>[2468]\d{5,6}</nationalNumberPattern>
19889
19883
  <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
19890
19884
  </generalDesc>
19891
19885
  <fixedLine>
@@ -19907,12 +19901,6 @@
19907
19901
  <possibleNumberPattern>\d{6}</possibleNumberPattern>
19908
19902
  <exampleNumber>800000</exampleNumber>
19909
19903
  </tollFree>
19910
- <premiumRate>
19911
- <!-- Using this to represent Value Added Service in the plan. -->
19912
- <nationalNumberPattern>98\d{4}</nationalNumberPattern>
19913
- <possibleNumberPattern>\d{6}</possibleNumberPattern>
19914
- <exampleNumber>981234</exampleNumber>
19915
- </premiumRate>
19916
19904
  <voip>
19917
19905
  <nationalNumberPattern>64\d{5}</nationalNumberPattern>
19918
19906
  <possibleNumberPattern>\d{7}</possibleNumberPattern>
@@ -19958,8 +19946,7 @@
19958
19946
  nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19959
19947
  mobileNumberPortableRegion="true">
19960
19948
  <references>
19961
- <sourceUrl>http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Sv_nrplan_telefoni_enl_TU-T_rek_E.164.pdf</sourceUrl>
19962
- <sourceUrl>http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Nrplansammanst%C3%A4llning-2013-07-05.pdf</sourceUrl>
19949
+ <sourceUrl>http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/swedish-numbering-plan-for-telephony-acc-itu-140407.pdf</sourceUrl>
19963
19950
  </references>
19964
19951
  <availableFormats>
19965
19952
  <!-- Formatting patterns are from the numbering plan and from the Swedish yellow pages
@@ -20150,7 +20137,7 @@
20150
20137
  <exampleNumber>8123456</exampleNumber>
20151
20138
  </fixedLine>
20152
20139
  <mobile>
20153
- <nationalNumberPattern>7[0236]\d{7}</nationalNumberPattern>
20140
+ <nationalNumberPattern>7[02369]\d{7}</nationalNumberPattern>
20154
20141
  <possibleNumberPattern>\d{9}</possibleNumberPattern>
20155
20142
  <exampleNumber>701234567</exampleNumber>
20156
20143
  </mobile>