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 Apr 18, 2023
1 parent 81c117a commit e1dd7e5
Show file tree
Hide file tree
Showing 40 changed files with 302 additions and 274 deletions.
20 changes: 10 additions & 10 deletions python/phonenumbers/carrierdata/data0.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@
'128439':{'en': 'Digicel'},
'128444':{'en': 'CCT'},
'12844689':{'en': 'CCT'},
'12844966':{'en': 'CCT'},
'12844967':{'en': 'CCT'},
'12844968':{'en': 'CCT'},
'12844969':{'en': 'CCT'},
'1284496':{'en': 'CCT'},
'1284499':{'en': 'CCT'},
'1284546':{'en': 'Cable & Wireless'},
'128456':{'en': 'Cable & Wireless'},
Expand Down Expand Up @@ -1015,7 +1012,10 @@
'230596':{'en': 'MTML'},
'230597':{'en': 'Emtel'},
'230598':{'en': 'Emtel'},
'2307':{'en': 'Emtel'},
'230700':{'en': 'Cellplus'},
'230701':{'en': 'Emtel'},
'230730':{'en': 'Emtel'},
'230733':{'en': 'Cellplus'},
'231220':{'en': 'Liberia Telecom'},
'231330':{'en': 'West Africa Telecom'},
'231555':{'en': 'Lonestar Cell'},
Expand Down Expand Up @@ -2043,6 +2043,7 @@
'3366':{'en': 'Bouygues'},
'3367':{'en': 'Orange France'},
'3368':{'en': 'Orange France'},
'33695':{'en': 'Free Mobile'},
'33698':{'en': 'Bouygues'},
'33699':{'en': 'Bouygues'},
'337500':{'en': 'Euroinformation Telecom'},
Expand Down Expand Up @@ -3241,8 +3242,8 @@
'38097':{'en': 'Kyivstar', 'uk': u('\u041a\u0438\u0457\u0432\u0441\u0442\u0430\u0440')},
'38098':{'en': 'Kyivstar', 'uk': u('\u041a\u0438\u0457\u0432\u0441\u0442\u0430\u0440')},
'38099':{'en': 'Vodafone', 'uk': u('Vodafone \u0423\u043a\u0440\u0430\u0457\u043d\u0430')},
'38160':{'en': 'VIP'},
'38161':{'en': 'VIP'},
'38160':{'en': 'A1'},
'38161':{'en': 'A1'},
'38162':{'en': 'Telenor'},
'38163':{'en': 'Telenor'},
'38164':{'en': 'Telekom Srbija a.d.'},
Expand All @@ -3251,7 +3252,7 @@
'381676':{'en': 'GLOBALTEL'},
'381677':{'en': 'GLOBALTEL'},
'381678':{'en': 'Vectone Mobile'},
'38168':{'en': 'VIP'},
'38168':{'en': 'A1'},
'38169':{'en': 'Telenor'},
'38260':{'en': 'm:tel'},
'38263':{'en': 'Telenor'},
Expand Down Expand Up @@ -3401,6 +3402,7 @@
'417509':{'en': 'Swisscom'},
'417519':{'en': 'Swisscom'},
'41752':{'en': 'Swisscom'},
'41753':{'en': 'Swisscom'},
'41754':{'en': 'Swisscom'},
'417550':{'en': 'Swisscom'},
'417551':{'en': 'Swisscom'},
Expand Down Expand Up @@ -10017,6 +10019,4 @@
'553199698':{'en': 'Telemig Celular'},
'553199699':{'en': 'Telemig Celular'},
'553199701':{'en': 'Telemig Celular'},
'553199702':{'en': 'Telemig Celular'},
'553199703':{'en': 'Telemig Celular'},
}
40 changes: 20 additions & 20 deletions python/phonenumbers/carrierdata/data1.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# limitations under the License.

data = {
'553199702':{'en': 'Telemig Celular'},
'553199703':{'en': 'Telemig Celular'},
'553199704':{'en': 'Telemig Celular'},
'553199705':{'en': 'Telemig Celular'},
'553199706':{'en': 'Telemig Celular'},
Expand Down Expand Up @@ -7303,7 +7305,12 @@
'5623351':{'en': 'Claro'},
'5623352':{'en': 'Claro'},
'562336':{'en': 'Movistar'},
'562337':{'en': 'Movistar'},
'562337':{'en': 'Claro'},
'5623370':{'en': 'Movistar'},
'5623371':{'en': 'Movistar'},
'5623372':{'en': 'Movistar'},
'5623373':{'en': 'Movistar'},
'562338':{'en': 'Claro'},
'56236':{'en': 'Entel'},
'56322162':{'en': 'Entel'},
'56322163':{'en': 'Entel'},
Expand Down Expand Up @@ -7639,24 +7646,7 @@
'5641219':{'en': 'Entel'},
'564122':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641229':{'en': 'Gtd Telesat S.A.'},
'5641230':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641231':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641232':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641233':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641234':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641235':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641236':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641237':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56412380':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56412381':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56412382':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56412383':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56412384':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56412385':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56412386':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56412387':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56412388':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641239':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'564123':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'564124':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641246':{'en': 'Telefonica Del Sur S.A.'},
'564125':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
Expand Down Expand Up @@ -7758,6 +7748,9 @@
'56413383':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56413384':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5641339':{'en': 'Telefonica Del Sur S.A.'},
'5641350':{'en': 'Entel'},
'5641351':{'en': 'Entel'},
'5641352':{'en': 'Entel'},
'5641355':{'en': 'Claro'},
'5641356':{'en': 'Claro'},
'5641357':{'en': 'Claro'},
Expand Down Expand Up @@ -8564,6 +8557,10 @@
'5657281':{'en': 'Gtd Telesat S.A.'},
'5657283':{'en': 'Movistar'},
'5657284':{'en': 'Gtd Manquehue S.A.'},
'5657285':{'en': 'Entel'},
'5657286':{'en': 'Entel'},
'5657287':{'en': 'Entel'},
'5657288':{'en': 'Entel'},
'565822':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'5658231':{'en': 'Vtr Banda Ancha (Chile) S.A.'},
'5658232':{'en': 'Vtr Banda Ancha (Chile) S.A.'},
Expand Down Expand Up @@ -9083,6 +9080,10 @@
'5671274':{'en': 'Entel'},
'5671277':{'en': 'Telestar'},
'5671279':{'en': 'Vtr Banda Ancha (Chile) S.A.'},
'5671280':{'en': 'Entel'},
'5671281':{'en': 'Entel'},
'5671282':{'en': 'Entel'},
'5671283':{'en': 'Entel'},
'5671288':{'en': 'Compania De Telecomunicaciones De Chile S.A.'},
'56712970':{'en': 'Comunicacion Y Telefonia Rural S.A.'},
'56712971':{'en': 'Comunicacion Y Telefonia Rural S.A.'},
Expand Down Expand Up @@ -10018,5 +10019,4 @@
'573046855':{'en': 'Tigo'},
'573046856':{'en': 'Tigo'},
'573046857':{'en': 'Tigo'},
'573046858':{'en': 'Tigo'},
}
15 changes: 13 additions & 2 deletions python/phonenumbers/carrierdata/data2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# limitations under the License.

data = {
'573046858':{'en': 'Tigo'},
'573046859':{'en': 'Tigo'},
'57304686':{'en': 'Tigo'},
'57304687':{'en': 'Tigo'},
Expand Down Expand Up @@ -3329,6 +3330,11 @@
'817055':{'en': 'Softbank'},
'817056':{'en': 'Softbank'},
'8170581':{'en': 'Softbank'},
'8170585':{'en': 'KDDI'},
'8170586':{'en': 'KDDI'},
'8170587':{'en': 'KDDI'},
'8170588':{'en': 'KDDI'},
'8170589':{'en': 'KDDI'},
'817059':{'en': 'KDDI'},
'817061':{'en': 'Softbank'},
'817062':{'en': 'Softbank'},
Expand Down Expand Up @@ -4575,6 +4581,7 @@
'90510221':{'en': 'Netgsm'},
'90510222':{'en': 'Netgsm'},
'90510223':{'en': 'Netgsm'},
'90510227':{'en': 'Netgsm'},
'90510232':{'en': 'Foniv Telecommunications Services'},
'90510244':{'en': 'Nida Telekomunikasyon'},
'90510255':{'en': 'TTM'},
Expand Down Expand Up @@ -8258,9 +8265,13 @@
'9947':{'en': 'Nar Mobile'},
'99499':{'en': 'Bakcell'},
'9955000':{'en': 'Silknet'},
'9955004':{'en': 'Silknet'},
'99550050':{'en': 'MagtiCom'},
'99550055':{'en': 'Silknet'},
'9955007':{'en': 'MyPhone'},
'99550070':{'en': 'MyPhone'},
'99550077':{'en': 'Silknet'},
'9955008':{'en': 'Silknet'},
'9955009':{'en': 'Silknet'},
'9955050':{'en': 'Silknet'},
'9955055':{'en': 'MagtiCom'},
'995510':{'en': 'Silknet'},
Expand Down Expand Up @@ -8348,7 +8359,7 @@
'996997':{'en': 'ALFA Telecom'},
'996998':{'en': 'ALFA Telecom'},
'996999':{'en': 'ALFA Telecom'},
'9983':{'en': 'Uzbektelecom'},
'9983':{'en': 'HUMANS'},
'99850':{'en': 'Ucell'},
'99861220':{'en': 'MobiUZ'},
'99861221':{'en': 'MobiUZ'},
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_BE.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
fixed_line=PhoneNumberDesc(national_number_pattern='80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}', example_number='12345678', possible_length=(8,)),
mobile=PhoneNumberDesc(national_number_pattern='4[5-9]\\d{7}', example_number='470123456', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='800[1-9]\\d{4}', example_number='80012345', possible_length=(8,)),
premium_rate=PhoneNumberDesc(national_number_pattern='(?:70(?:2[0-57]|3[04-7]|44|6[569]|7[0579])|90(?:0[0-8]|1[36]|2[0-3568]|3[0-689]|[47][2-68]|5[1-68]|6[0-378]|9[34679]))\\d{4}', example_number='90012345', possible_length=(8,)),
premium_rate=PhoneNumberDesc(national_number_pattern='(?:70(?:2[0-57]|3[04-7]|44|6[569]|7[0579])|90(?:0[0-8]|1[36]|2[0-3568]|3[0-689]|4[02-68]|5[1-68]|6[0-378]|7[2-68]|9[34679]))\\d{4}', example_number='90012345', possible_length=(8,)),
shared_cost=PhoneNumberDesc(national_number_pattern='7879\\d{4}', example_number='78791234', possible_length=(8,)),
uan=PhoneNumberDesc(national_number_pattern='78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}', example_number='78102345', possible_length=(8,)),
national_prefix='0',
Expand Down
4 changes: 2 additions & 2 deletions python/phonenumbers/data/region_CA.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

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]|3[178]|50|68|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|73)|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]|3[178]|50|68|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|73)|90[25])[2-9]\\d{6}', example_number='5062345678', possible_length=(10,), possible_length_local_only=(7,)),
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|73)|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|73)|90[25])[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,)),
Expand Down
4 changes: 2 additions & 2 deletions python/phonenumbers/data/region_CL.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

PHONE_METADATA_CL = PhoneMetadata(id='CL', country_code=56, international_prefix='(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0',
general_desc=PhoneNumberDesc(national_number_pattern='12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}', possible_length=(9, 10, 11)),
fixed_line=PhoneNumberDesc(national_number_pattern='2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[0346]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|7[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}', example_number='221234567', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[0346]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|7[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}', example_number='221234567', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}', example_number='221234567', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}', example_number='221234567', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='(?:123|8)00\\d{6}', example_number='800123456', possible_length=(9, 11)),
shared_cost=PhoneNumberDesc(national_number_pattern='600\\d{7,8}', example_number='6001234567', possible_length=(10, 11)),
voip=PhoneNumberDesc(national_number_pattern='44\\d{7}', example_number='441234567', possible_length=(9,)),
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(?:00(?:0\\d|5[05])|11(?:00|[124]\\d|3[01])|(?:520|909)0|75(?:00|[57]5)|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88)))\\d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)\\d{6}|5(?:0(?:070|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}', 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(?:00(?:0\\d|44|5[05]|77|88|99)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:070|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}', 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_MM.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

PHONE_METADATA_MM = PhoneMetadata(id='MM', country_code=95, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}', possible_length=(6, 7, 8, 9, 10), possible_length_local_only=(5,)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[2-469]|39|46|6[25]|7[0-3]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|2[246]|39|46|62|7[0-3]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[0-3])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|247[23]|3(?:20\\d|470)|4(?:2[04]\\d|47[23])|7(?:(?:3\\d|8[01459])\\d|4(?:39|60|7[013]))))\\d{4}|5(?:2(?:2\\d{5,6}|47[023]\\d{4})|(?:347[23]|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[0-2])|8(?:20\\d|47[02])|9(?:20\\d|47[01]))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:2\\d|4[1-9]|51)\\d|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}', example_number='1234567', possible_length=(6, 7, 8, 9), possible_length_local_only=(5,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|9[4-8])\\d|7(?:3|40|[5-9]\\d)|8(?:78|[89]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}', example_number='92123456', possible_length=(7, 8, 9, 10)),
toll_free=PhoneNumberDesc(national_number_pattern='80080(?:[01][1-9]|2\\d)\\d{3}', example_number='8008001234', possible_length=(10,)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[29]|39|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|39|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:(?:3\\d|8[01459])\\d|4(?:39|[67]0))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}', example_number='1234567', possible_length=(6, 7, 8, 9), possible_length_local_only=(5,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}', example_number='92123456', possible_length=(7, 8, 9, 10)),
toll_free=PhoneNumberDesc(national_number_pattern='80080(?:0[1-9]|2\\d)\\d{3}', example_number='8008001234', possible_length=(10,)),
voip=PhoneNumberDesc(national_number_pattern='1333\\d{4}|[12]468\\d{4}', example_number='13331234', possible_length=(8,)),
national_prefix='0',
national_prefix_for_parsing='0',
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_MU.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PHONE_METADATA_MU = PhoneMetadata(id='MU', country_code=230, international_prefix='0(?:0|[24-7]0|3[03])',
general_desc=PhoneNumberDesc(national_number_pattern='(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}', possible_length=(7, 8, 10)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-7])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}', example_number='54480123', possible_length=(7, 8)),
mobile=PhoneNumberDesc(national_number_pattern='5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:01|30))\\d{5}', example_number='52512345', possible_length=(8,)),
mobile=PhoneNumberDesc(national_number_pattern='5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[01]|3[03]))\\d{5}', example_number='52512345', possible_length=(8,)),
toll_free=PhoneNumberDesc(national_number_pattern='802\\d{7}|80[0-2]\\d{4}', example_number='8001234', possible_length=(7, 10)),
premium_rate=PhoneNumberDesc(national_number_pattern='30\\d{5}', example_number='3012345', possible_length=(7,)),
voip=PhoneNumberDesc(national_number_pattern='3(?:20|9\\d)\\d{4}', example_number='3201234', possible_length=(7,)),
Expand Down
Loading

0 comments on commit e1dd7e5

Please sign in to comment.