Commits

lara...@google.com@ee073f10-1060-11df-b6a4-87a95322a99c  committed 963929c

JS: libphonenumberv5.0 metadata changes

  • Participants
  • Parent commits a0abe35
  • Branches default

Comments (0)

Files changed (2)

File javascript/i18n/phonenumbers/metadata.js

 ,,[,,"1(?:[578]|12)","\\d{2,3}",,,"112"]
 ,[,,"NA","NA"]
 ]
-,"GA":[,[,,"[12]\\d{6}|0\\d{7}","\\d{6,8}"]
-,[,,"(?:1(?:4[4-8]|7\\d)|2(?:4[02]|5[04-689]|6[024-79]|8[236]|9[02368]))\\d{4}","\\d{6,7}",,,"1441234"]
-,[,,"0(?:5(?:0[89]|3[0-4]|8[0-26]|9[238])|6(?:0[3-7]|1[01]|2[0-7]|6[0-589]|71|83|9[57])|7(?:1[2-5]|2[89]|3[35-9]|4[01]|5[0-47-9]|[67]\\d|8[457-9]|9[0146]))\\d{4}","\\d{8}",,,"06031234"]
-,[,,"NA","NA"]
-,[,,"NA","NA"]
-,[,,"NA","NA"]
-,[,,"NA","NA"]
-,[,,"NA","NA"]
-,"GA",241,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[12]"]
-,"0$1","",0]
-,[,"(0\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]
-,"","",0]
-]
-,,[,,"NA","NA"]
-,,,[,,"NA","NA"]
-,[,,"NA","NA"]
-,1,[,,"1730|18|13\\d{2}","\\d{2,4}",,,"1730"]
+,"GA":[,[,,"[1-7]\\d{6}","\\d{7}"]
+,[,,"1\\d{6}","\\d{7}",,,"1441234"]
+,[,,"[2-7]\\d{6}","\\d{7}",,,"6031234"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,"GA",241,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1","",0]
+]
+,,[,,"NA","NA"]
+,,,[,,"NA","NA"]
+,[,,"NA","NA"]
+,,[,,"1730|18|13\\d{2}","\\d{2,4}",,,"1730"]
 ,[,,"NA","NA"]
 ]
 ,"GB":[,[,,"\\d{7,10}","\\d{4,10}"]
 ,[,,"NA","NA"]
 ]
 ,"IL":[,[,,"[17]\\d{6,9}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}","\\d{4,10}"]
-,[,,"(?:[2-489]|7[2-46-8])\\d{7}","\\d{7,9}",,,"21234567"]
-,[,,"5(?:[02346-9]\\d{2}|5(?:22|33|44|5[58]|66|77|88))\\d{5}","\\d{9}",,,"501234567"]
+,[,,"[2-489]\\d{7}","\\d{7,8}",,,"21234567"]
+,[,,"5(?:[02347-9]\\d{2}|5(?:2[23]|3[34]|4[45]|5[5689]|6[67]|7[78]|8[89])|6[2-9]\\d)\\d{5}","\\d{9}",,,"501234567"]
 ,[,,"1(?:80[019]\\d{3}|255)\\d{3}","\\d{7,10}",,,"1800123456"]
-,[,,"1(?:212|(?:919|200)\\d{2})\\d{4}","\\d{8,10}",,,"1919123456"]
+,[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}","\\d{8,10}",,,"1919123456"]
 ,[,,"1700\\d{6}","\\d{10}",,,"1700123456"]
 ,[,,"NA","NA"]
-,[,,"77\\d{7}","\\d{9}",,,"771234567"]
-,"IL",972,"0(?:0|1[2-48])","0",,,"0",,,,[[,"([2-489])(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"]
+,[,,"7(?:2[23]\\d|3[237]\\d|47\\d|6(?:5\\d|88)|7\\d{2}|8(?:33|55|77|81))\\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","",0]
 ,[,"([57]\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[57]"]
 ,"0$1","",0]

File javascript/i18n/phonenumbers/metadatalite.js

 ,,[,,"1(?:[578]|12)","\\d{2,3}"]
 ,[,,"NA","NA"]
 ]
-,"GA":[,[,,"[12]\\d{6}|0\\d{7}","\\d{6,8}"]
-,[,,"(?:1(?:4[4-8]|7\\d)|2(?:4[02]|5[04-689]|6[024-79]|8[236]|9[02368]))\\d{4}","\\d{6,7}"]
-,[,,"0(?:5(?:0[89]|3[0-4]|8[0-26]|9[238])|6(?:0[3-7]|1[01]|2[0-7]|6[0-589]|71|83|9[57])|7(?:1[2-5]|2[89]|3[35-9]|4[01]|5[0-47-9]|[67]\\d|8[457-9]|9[0146]))\\d{4}","\\d{8}"]
-,[,,"NA","NA"]
-,[,,"NA","NA"]
-,[,,"NA","NA"]
-,[,,"NA","NA"]
-,[,,"NA","NA"]
-,"GA",241,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[12]"]
-,"0$1","",0]
-,[,"(0\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]
-,"","",0]
-]
-,,[,,"NA","NA"]
-,,,[,,"NA","NA"]
-,[,,"NA","NA"]
-,1,[,,"1730|18|13\\d{2}","\\d{2,4}"]
+,"GA":[,[,,"[1-7]\\d{6}","\\d{7}"]
+,[,,"1\\d{6}","\\d{7}"]
+,[,,"[2-7]\\d{6}","\\d{7}"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,"GA",241,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1","",0]
+]
+,,[,,"NA","NA"]
+,,,[,,"NA","NA"]
+,[,,"NA","NA"]
+,,[,,"1730|18|13\\d{2}","\\d{2,4}"]
 ,[,,"NA","NA"]
 ]
 ,"GB":[,[,,"\\d{7,10}","\\d{4,10}"]
 ,[,,"NA","NA"]
 ]
 ,"IL":[,[,,"[17]\\d{6,9}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}","\\d{4,10}"]
-,[,,"(?:[2-489]|7[2-46-8])\\d{7}","\\d{7,9}"]
-,[,,"5(?:[02346-9]\\d{2}|5(?:22|33|44|5[58]|66|77|88))\\d{5}","\\d{9}"]
+,[,,"[2-489]\\d{7}","\\d{7,8}"]
+,[,,"5(?:[02347-9]\\d{2}|5(?:2[23]|3[34]|4[45]|5[5689]|6[67]|7[78]|8[89])|6[2-9]\\d)\\d{5}","\\d{9}"]
 ,[,,"1(?:80[019]\\d{3}|255)\\d{3}","\\d{7,10}"]
-,[,,"1(?:212|(?:919|200)\\d{2})\\d{4}","\\d{8,10}"]
+,[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}","\\d{8,10}"]
 ,[,,"1700\\d{6}","\\d{10}"]
 ,[,,"NA","NA"]
-,[,,"77\\d{7}","\\d{9}"]
-,"IL",972,"0(?:0|1[2-48])","0",,,"0",,,,[[,"([2-489])(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"]
+,[,,"7(?:2[23]\\d|3[237]\\d|47\\d|6(?:5\\d|88)|7\\d{2}|8(?:33|55|77|81))\\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","",0]
 ,[,"([57]\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[57]"]
 ,"0$1","",0]