Skip to content

Commit

Permalink
Generated files for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Dec 2, 2024
1 parent 5961ba8 commit df96dfa
Show file tree
Hide file tree
Showing 48 changed files with 154 additions and 176 deletions.
38 changes: 19 additions & 19 deletions python/phonenumbers/carrierdata/data0.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
'1671480':{'en': 'GTA'},
'1671482':{'en': 'GTA'},
'1671483':{'en': 'GTA'},
'1671485':{'en': 'GTA'},
'1671486':{'en': 'GTA'},
'1671487':{'en': 'GTA'},
'1671488':{'en': 'GTA'},
Expand All @@ -184,6 +185,7 @@
'167184':{'en': 'i CAN_GSM'},
'167185':{'en': 'i CAN_GSM'},
'1671864':{'en': 'GTA'},
'1671867':{'en': 'GTA'},
'1671868':{'en': 'Choice Phone'},
'167187':{'en': 'Choice Phone'},
'167188':{'en': 'Choice Phone'},
Expand Down Expand Up @@ -821,7 +823,9 @@
'22171':{'en': 'Orange'},
'22172':{'en': 'HAYO'},
'22175':{'en': 'Promobile'},
'2217536':{'en': 'Orange'},
'221757':{'en': 'Origines'},
'2217585':{'en': 'Orange'},
'22176':{'en': 'Free'},
'22177':{'en': 'Orange'},
'22178':{'en': 'Orange'},
Expand Down Expand Up @@ -944,6 +948,7 @@
'22799':{'en': 'Airtel'},
'22870':{'en': 'Togo Telecom'},
'22871':{'en': 'Togo Telecom'},
'22872':{'en': 'Togo Telecom'},
'22879':{'en': 'Moov'},
'22890':{'en': 'Togo Telecom'},
'22891':{'en': 'Togo Telecom'},
Expand Down Expand Up @@ -1490,6 +1495,13 @@
'26269394':{'en': 'SFR'},
'26269397':{'en': 'SFR'},
'26269399':{'en': 'Orange'},
'26270920':{'en': 'SFR'},
'26270921':{'en': 'Orange'},
'26270922':{'en': 'Telco OI'},
'26270923':{'en': 'ZEOP Mobile'},
'26270935':{'en': 'SFR'},
'26270936':{'en': 'Telco OI'},
'26270937':{'en': 'Orange'},
'26371':{'en': 'Net*One'},
'26372':{'en': 'Net*One'},
'26373':{'en': 'Telecel'},
Expand Down Expand Up @@ -1600,6 +1612,8 @@
'27564920':{'en': 'Vodacom'},
'27574920':{'en': 'Vodacom'},
'27584920':{'en': 'Vodacom'},
'27601':{'en': 'Telkom Mobile'},
'27602':{'en': 'Telkom Mobile'},
'27603':{'en': 'MTN'},
'27604':{'en': 'MTN'},
'27605':{'en': 'MTN'},
Expand Down Expand Up @@ -1639,14 +1653,10 @@
'27663':{'en': 'Vodacom'},
'27664':{'en': 'Vodacom'},
'27665':{'en': 'Vodacom'},
'27670':{'en': 'Telkom Mobile'},
'27671':{'en': 'Telkom Mobile'},
'27672':{'en': 'Telkom Mobile'},
'2767':{'en': 'Telkom Mobile'},
'27673':{'en': 'Vodacom'},
'27674':{'en': 'Vodacom'},
'27675':{'en': 'Vodacom'},
'27676':{'en': 'Telkom Mobile'},
'27677':{'en': 'Telkom Mobile'},
'2768':{'en': 'Telkom Mobile'},
'27686':{'en': 'MTN'},
'27687':{'en': 'MTN'},
Expand Down Expand Up @@ -2383,7 +2393,7 @@
'346212':{'en': 'Movistar'},
'346213':{'en': 'Republica Movil'},
'346214':{'en': 'Republica Movil'},
'346215':{'en': 'Republica Movil'},
'346215':{'en': 'Aire Networks'},
'346216':{'en': 'Republica Movil'},
'34622':{'en': 'Yoigo'},
'346230':{'en': 'Yoigo'},
Expand Down Expand Up @@ -2475,6 +2485,7 @@
'3468448':{'en': 'Nethits'},
'346845':{'en': 'Movistar'},
'346846':{'en': 'Telecable'},
'346848':{'en': 'Euskaltel'},
'34685':{'en': 'Orange'},
'3468529':{'en': 'Carrefour'},
'34686':{'en': 'Movistar'},
Expand Down Expand Up @@ -2641,6 +2652,7 @@
'351927':{'en': 'MEO'},
'3519280':{'en': 'NOWO'},
'3519281':{'en': 'NOWO'},
'3519282':{'en': 'Digi Communications'},
'3519285':{'en': 'ONITELECOM'},
'3519290':{'en': 'NOS'},
'3519291':{'en': 'NOS'},
Expand Down Expand Up @@ -7624,6 +7636,7 @@
'50850':{'en': 'Keyyo'},
'50855':{'en': 'SPM Telecom'},
'50856':{'en': 'Kav El International'},
'50870856':{'en': 'SPM Telecom'},
'5093':{'en': 'Digicel'},
'50932':{'en': 'Natcom'},
'50933':{'en': 'Natcom'},
Expand Down Expand Up @@ -10006,17 +10019,4 @@
'552899952':{'en': 'Vivo'},
'552899953':{'en': 'Vivo'},
'552899954':{'en': 'Vivo'},
'552899955':{'en': 'Vivo'},
'552899956':{'en': 'Vivo'},
'552899957':{'en': 'Vivo'},
'552899958':{'en': 'Vivo'},
'552899959':{'en': 'Vivo'},
'552899961':{'en': 'Vivo'},
'552899962':{'en': 'Vivo'},
'552899963':{'en': 'Vivo'},
'552899964':{'en': 'Vivo'},
'552899965':{'en': 'Vivo'},
'552899966':{'en': 'Vivo'},
'552899967':{'en': 'Vivo'},
'552899968':{'en': 'Vivo'},
}
26 changes: 13 additions & 13 deletions python/phonenumbers/carrierdata/data1.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
# limitations under the License.

data = {
'552899955':{'en': 'Vivo'},
'552899956':{'en': 'Vivo'},
'552899957':{'en': 'Vivo'},
'552899958':{'en': 'Vivo'},
'552899959':{'en': 'Vivo'},
'552899961':{'en': 'Vivo'},
'552899962':{'en': 'Vivo'},
'552899963':{'en': 'Vivo'},
'552899964':{'en': 'Vivo'},
'552899965':{'en': 'Vivo'},
'552899966':{'en': 'Vivo'},
'552899967':{'en': 'Vivo'},
'552899968':{'en': 'Vivo'},
'552899969':{'en': 'Vivo'},
'552899971':{'en': 'Vivo'},
'552899972':{'en': 'Vivo'},
Expand Down Expand Up @@ -10006,17 +10019,4 @@
'569907':{'en': 'Entel'},
'569908':{'en': 'Entel'},
'569909':{'en': 'Entel'},
'569910':{'en': 'Claro'},
'569912':{'en': 'Entel'},
'569913':{'en': 'Entel'},
'569914':{'en': 'Movistar'},
'5699140':{'en': 'Entel'},
'5699141':{'en': 'Entel'},
'5699142':{'en': 'Entel'},
'569915':{'en': 'Entel'},
'569916':{'en': 'Movistar'},
'569917':{'en': 'Claro'},
'569918':{'en': 'Movistar'},
'569919':{'en': 'Movistar'},
'569920':{'en': 'Claro'},
}
43 changes: 28 additions & 15 deletions python/phonenumbers/carrierdata/data2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
# limitations under the License.

data = {
'569910':{'en': 'Claro'},
'569912':{'en': 'Entel'},
'569913':{'en': 'Entel'},
'569914':{'en': 'Movistar'},
'5699140':{'en': 'Entel'},
'5699141':{'en': 'Entel'},
'5699142':{'en': 'Entel'},
'569915':{'en': 'Entel'},
'569916':{'en': 'Movistar'},
'569917':{'en': 'Claro'},
'569918':{'en': 'Movistar'},
'569919':{'en': 'Movistar'},
'569920':{'en': 'Claro'},
'569921':{'en': 'Entel'},
'569922':{'en': 'Movistar'},
'569923':{'en': 'Movistar'},
Expand Down Expand Up @@ -655,6 +668,9 @@
'59469446':{'en': 'SFR'},
'59469447':{'en': 'SFR'},
'5946949':{'en': 'Digicel'},
'59470930':{'en': 'Free Caraibe'},
'59470932':{'en': 'Digicel'},
'59470933':{'en': 'Orange'},
'59595':{'en': 'VOX'},
'59596':{'en': 'VOX'},
'59597':{'en': 'Personal'},
Expand Down Expand Up @@ -701,6 +717,9 @@
'5966969':{'en': 'Digicel'},
'59669699':{'en': 'Orange'},
'59669727':{'en': 'Digicel'},
'59670910':{'en': u('Free Cara\u00efbe')},
'59670912':{'en': 'Digicel'},
'59670913':{'en': 'Orange'},
'59771':{'en': 'Digicel'},
'59772':{'en': 'Digicel'},
'59774':{'en': 'Digicel'},
Expand Down Expand Up @@ -3728,11 +3747,7 @@
'7999':{'en': 'MegaFon', 'ru': u('\u041c\u0435\u0433\u0430\u0424\u043e\u043d')},
'81701':{'en': 'Softbank'},
'817010':{'en': 'NTT Docomo'},
'817020':{'en': 'KDDI'},
'817021':{'en': 'KDDI'},
'817022':{'en': 'KDDI'},
'817023':{'en': 'KDDI'},
'817024':{'en': 'KDDI'},
'81702':{'en': 'KDDI'},
'8170250':{'en': 'Softbank'},
'817026':{'en': 'NTT Docomo'},
'817027':{'en': 'NTT Docomo'},
Expand Down Expand Up @@ -3792,6 +3807,7 @@
'817064':{'en': 'Softbank'},
'817065':{'en': 'Softbank'},
'817066':{'en': 'Softbank'},
'817067':{'en': 'KDDI'},
'8170680':{'en': 'Softbank'},
'8170681':{'en': 'Softbank'},
'8170682':{'en': 'Softbank'},
Expand All @@ -3812,15 +3828,7 @@
'8170823':{'en': 'NTT Docomo'},
'817083':{'en': 'Rakuten Communications'},
'817084':{'en': 'Rakuten Communications'},
'8170850':{'en': 'Rakuten Communications'},
'8170851':{'en': 'Rakuten Communications'},
'8170852':{'en': 'Rakuten Communications'},
'8170853':{'en': 'Rakuten Communications'},
'8170854':{'en': 'Rakuten Communications'},
'8170855':{'en': 'Rakuten Communications'},
'8170856':{'en': 'Rakuten Communications'},
'8170857':{'en': 'Rakuten Communications'},
'8170858':{'en': 'Rakuten Communications'},
'817085':{'en': 'Rakuten Communications'},
'817086':{'en': 'KDDI'},
'817087':{'en': 'KDDI'},
'817088':{'en': 'KDDI'},
Expand Down Expand Up @@ -4157,6 +4165,7 @@
'852470':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852474':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'852475':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852476':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'852510':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852511':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'852512':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
Expand Down Expand Up @@ -4444,7 +4453,9 @@
'852936':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852937':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852938':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852939':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
'852939':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'8529390':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
'8529391':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
'852940':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852941':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852942':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
Expand Down Expand Up @@ -8471,6 +8482,7 @@
'96277':{'en': 'Orange'},
'96278':{'en': 'Umniah'},
'96279':{'en': 'Zain JO'},
'96350':{'en': 'Rcell'},
'96391':{'en': 'Wafa Telecom'},
'96392':{'en': 'Wafa Telecom'},
'96393':{'en': 'Syriatel'},
Expand Down Expand Up @@ -8824,6 +8836,7 @@
'99550099':{'en': 'Silknet'},
'995501':{'en': 'Cellfie'},
'995502':{'en': 'Silknet'},
'995504':{'en': 'Cellfie'},
'9955050':{'en': 'Silknet'},
'9955055':{'en': 'MagtiCom'},
'995507':{'en': 'Globalcell'},
Expand Down
5 changes: 3 additions & 2 deletions python/phonenumbers/data/region_870.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata

PHONE_METADATA_870 = PhoneMetadata(id='001', country_code=870, international_prefix=None,
general_desc=PhoneNumberDesc(national_number_pattern='7\\d{11}|[35-7]\\d{8}', possible_length=(9, 12)),
general_desc=PhoneNumberDesc(national_number_pattern='7\\d{11}|[235-7]\\d{8}', possible_length=(9, 12)),
mobile=PhoneNumberDesc(national_number_pattern='(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}', example_number='301234567', possible_length=(9, 12)),
number_format=[NumberFormat(pattern='(\\d{3})(\\d{3})(\\d{3})', format='\\1 \\2 \\3', leading_digits_pattern=['[35-7]'])])
voip=PhoneNumberDesc(national_number_pattern='2\\d{8}', example_number='201234567', possible_length=(9,)),
number_format=[NumberFormat(pattern='(\\d{3})(\\d{3})(\\d{3})', format='\\1 \\2 \\3', leading_digits_pattern=['[235-7]'])])
8 changes: 4 additions & 4 deletions python/phonenumbers/data/region_CA.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata

PHONE_METADATA_CA = PhoneMetadata(id='CA', country_code=1, international_prefix='011',
general_desc=PhoneNumberDesc(national_number_pattern='(?:[2-8]\\d|90)\\d{8}|3\\d{6}', possible_length=(7, 10)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}', example_number='5062345678', possible_length=(10,), possible_length_local_only=(7,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}', example_number='5062345678', possible_length=(10,), possible_length_local_only=(7,)),
general_desc=PhoneNumberDesc(national_number_pattern='[2-9]\\d{9}|3\\d{6}', possible_length=(7, 10)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}', example_number='5062345678', possible_length=(10,), possible_length_local_only=(7,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}', example_number='5062345678', possible_length=(10,), possible_length_local_only=(7,)),
toll_free=PhoneNumberDesc(national_number_pattern='8(?:00|33|44|55|66|77|88)[2-9]\\d{6}', example_number='8002123456', possible_length=(10,)),
premium_rate=PhoneNumberDesc(national_number_pattern='900[2-9]\\d{6}', example_number='9002123456', possible_length=(10,)),
personal_number=PhoneNumberDesc(national_number_pattern='52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}', example_number='5002345678', possible_length=(10,)),
personal_number=PhoneNumberDesc(national_number_pattern='52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}', example_number='5002345678', possible_length=(10,)),
voip=PhoneNumberDesc(national_number_pattern='600[2-9]\\d{6}', example_number='6002012345', possible_length=(10,)),
uan=PhoneNumberDesc(national_number_pattern='310\\d{4}', example_number='3101234', possible_length=(7,)),
national_prefix='1',
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_GE.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PHONE_METADATA_GE = PhoneMetadata(id='GE', country_code=995, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='(?:[3-57]\\d\\d|800)\\d{6}', possible_length=(9,), possible_length_local_only=(6, 7)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}', example_number='322123456', possible_length=(9,), possible_length_local_only=(6, 7)),
mobile=PhoneNumberDesc(national_number_pattern='5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|22[02]|77\\d)|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}', example_number='555123456', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}', example_number='555123456', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='800\\d{6}', example_number='800123456', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='70[67]\\d{6}', example_number='706123456', possible_length=(9,)),
no_international_dialling=PhoneNumberDesc(national_number_pattern='70[67]\\d{6}', possible_length=(9,)),
Expand Down
6 changes: 3 additions & 3 deletions python/phonenumbers/data/region_GF.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata

PHONE_METADATA_GF = PhoneMetadata(id='GF', country_code=594, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[56]94\\d{6}|(?:80|9\\d)\\d{7}', possible_length=(9,)),
general_desc=PhoneNumberDesc(national_number_pattern='(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}', example_number='594101234', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='694(?:[0-249]\\d|3[0-8])\\d{4}', example_number='694201234', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}', example_number='694201234', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='80[0-5]\\d{6}', example_number='800012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}', example_number='976012345', possible_length=(9,)),
national_prefix='0',
national_prefix_for_parsing='0',
number_format=[NumberFormat(pattern='(\\d{3})(\\d{2})(\\d{2})(\\d{2})', format='\\1 \\2 \\3 \\4', leading_digits_pattern=['[56]|9[47]'], national_prefix_formatting_rule='0\\1'),
number_format=[NumberFormat(pattern='(\\d{3})(\\d{2})(\\d{2})(\\d{2})', format='\\1 \\2 \\3 \\4', leading_digits_pattern=['[5-7]|9[47]'], national_prefix_formatting_rule='0\\1'),
NumberFormat(pattern='(\\d{3})(\\d{2})(\\d{2})(\\d{2})', format='\\1 \\2 \\3 \\4', leading_digits_pattern=['[89]'], national_prefix_formatting_rule='0\\1')],
mobile_number_portable_region=True)
4 changes: 2 additions & 2 deletions python/phonenumbers/data/region_GU.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

PHONE_METADATA_GU = PhoneMetadata(id='GU', country_code=1, international_prefix='011',
general_desc=PhoneNumberDesc(national_number_pattern='(?:[58]\\d\\d|671|900)\\d{7}', possible_length=(10,), possible_length_local_only=(7,)),
fixed_line=PhoneNumberDesc(national_number_pattern='671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}', example_number='6713001234', possible_length=(10,), possible_length_local_only=(7,)),
mobile=PhoneNumberDesc(national_number_pattern='671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}', example_number='6713001234', possible_length=(10,), possible_length_local_only=(7,)),
fixed_line=PhoneNumberDesc(national_number_pattern='671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}', example_number='6713001234', possible_length=(10,), possible_length_local_only=(7,)),
mobile=PhoneNumberDesc(national_number_pattern='671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}', example_number='6713001234', possible_length=(10,), possible_length_local_only=(7,)),
toll_free=PhoneNumberDesc(national_number_pattern='8(?:00|33|44|55|66|77|88)[2-9]\\d{6}', example_number='8002123456', possible_length=(10,)),
premium_rate=PhoneNumberDesc(national_number_pattern='900[2-9]\\d{6}', example_number='9002123456', possible_length=(10,)),
personal_number=PhoneNumberDesc(national_number_pattern='52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}', example_number='5002345678', possible_length=(10,)),
Expand Down
Loading

0 comments on commit df96dfa

Please sign in to comment.