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 Jul 1, 2024
1 parent 98befc8 commit 76e63cd
Show file tree
Hide file tree
Showing 36 changed files with 65 additions and 54 deletions.
4 changes: 2 additions & 2 deletions python/phonenumbers/carrierdata/data0.py
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,7 @@
'230701':{'en': 'Emtel'},
'230702':{'en': 'MTML'},
'230703':{'en': 'Emtel'},
'230704':{'en': 'Emtel'},
'230730':{'en': 'Emtel'},
'230731':{'en': 'MTML'},
'230733':{'en': 'Cellplus'},
Expand Down Expand Up @@ -1105,6 +1106,7 @@
'234916':{'en': 'MTN'},
'2356':{'en': 'Airtel'},
'2357':{'en': 'Sotel'},
'2358':{'en': 'Airtel'},
'2359':{'en': 'Tigo'},
'23670':{'en': 'A-Cell'},
'23672':{'en': 'Orange'},
Expand Down Expand Up @@ -10017,6 +10019,4 @@
'552899998':{'en': 'Vivo'},
'55319820':{'en': 'Claro'},
'55319821':{'en': 'Claro'},
'55319822':{'en': 'Claro'},
'55319823':{'en': 'Claro'},
}
4 changes: 2 additions & 2 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 = {
'55319822':{'en': 'Claro'},
'55319823':{'en': 'Claro'},
'553198240':{'en': 'Claro'},
'553198241':{'en': 'Claro'},
'553198242':{'en': 'Claro'},
Expand Down Expand Up @@ -10017,6 +10019,4 @@
'5699382':{'en': 'Entel'},
'5699383':{'en': 'Entel'},
'5699385':{'en': 'Claro'},
'5699386':{'en': 'Claro'},
'5699387':{'en': 'Claro'},
}
36 changes: 22 additions & 14 deletions python/phonenumbers/carrierdata/data2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# limitations under the License.

data = {
'5699386':{'en': 'Claro'},
'5699387':{'en': 'Claro'},
'5699388':{'en': 'Claro'},
'5699389':{'en': 'Movistar'},
'569939':{'en': 'Claro'},
Expand Down Expand Up @@ -534,16 +536,19 @@
'592720':{'en': 'E-Networks'},
'592721':{'en': 'Digicel Guyana'},
'592722':{'en': 'Digicel Guyana'},
'592723':{'en': 'Digicel Guyana'},
'592724':{'en': 'Digicel Guyana'},
'592725':{'en': 'GTT'},
'592726':{'en': 'GTT'},
'592727':{'en': 'GTT'},
'592728':{'en': 'GTT'},
'59273':{'en': 'E-Networks'},
'59274':{'en': 'Digicel Guyana'},
'592740':{'en': 'E-Networks'},
'592741':{'en': 'E-Networks'},
'592742':{'en': 'E-Networks'},
'592749':{'en': 'GTT'},
'59275':{'en': 'GTT'},
'592750':{'en': 'Digicel Guyana'},
'59393':{'en': 'Claro'},
'5939586':{'en': 'Movistar'},
'5939587':{'en': 'Movistar'},
Expand Down Expand Up @@ -4055,15 +4060,15 @@
'850193':{'en': 'KPTC'},
'852440':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'852441':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
'852442':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852442':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852443':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
'852444':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
'8524441':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'8524442':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'8524441':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'8524442':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852445':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
'852446':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852446':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852447':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'852448':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852448':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852460':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'8524607':{'en': 'Multibyte', 'zh': 'Multibyte'},
'8524608':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
Expand Down Expand Up @@ -4114,6 +4119,7 @@
'852468':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'852469':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'8524699':{'en': 'South China Telecommunications', 'zh': u('\u4e2d\u570b\u5357\u65b9\u96fb\u4fe1(\u9999\u6e2f)\u6709\u9650\u516c\u53f8')},
'85247':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'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 @@ -4333,19 +4339,20 @@
'852699':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'85270':{'zh_Hant': u('\u6578\u78bc\u901a')},
'852701':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'852702':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852702':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852703':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'8527071':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a')},
'8527072':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a')},
'8527073':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a')},
'8527074':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a')},
'8527075':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a')},
'8527076':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'8527077':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'8527078':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'8527077':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'8527078':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852708':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
'852709':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852709':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852840':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8')},
'852841':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852841':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852842':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf')},
'8528480':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': 'Handy'},
'8528481':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
Expand All @@ -4360,8 +4367,8 @@
'852901':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852902':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852903':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852904':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8'), 'zh_Hant': '3'},
'852905':{'en': 'Hutchison Telecom.', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'852904':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8'), 'zh_Hant': '3'},
'852905':{'en': 'Hutchison Telecom', 'zh': u('\u548c\u8a18\u96fb\u8a71\u6709\u9650\u516c\u53f8')},
'8529057':{'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852906':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852907':{'en': 'HKT', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
Expand Down Expand Up @@ -4834,7 +4841,7 @@
'88013':{'en': 'Grameenphone'},
'88014':{'en': 'Banglalink'},
'88015':{'en': 'TeleTalk'},
'88016':{'en': 'Airtel'},
'88016':{'en': 'Robi'},
'88017':{'en': 'Grameenphone'},
'88018':{'en': 'Robi'},
'88019':{'en': 'Banglalink'},
Expand Down Expand Up @@ -8768,6 +8775,7 @@
'99550090':{'en': 'Cellfie'},
'99550099':{'en': 'Silknet'},
'995501':{'en': 'Cellfie'},
'995502':{'en': 'Silknet'},
'9955050':{'en': 'Silknet'},
'9955055':{'en': 'MagtiCom'},
'995507':{'en': 'Globalcell'},
Expand Down
6 changes: 3 additions & 3 deletions python/phonenumbers/data/region_FI.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PHONE_METADATA_FI = PhoneMetadata(id='FI', country_code=358, international_prefix='00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))',
general_desc=PhoneNumberDesc(national_number_pattern='[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}', possible_length=(5, 6, 7, 8, 9, 10, 11, 12)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:1[3-79][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}', example_number='131234567', possible_length=(5, 6, 7, 8, 9)),
fixed_line=PhoneNumberDesc(national_number_pattern='1[35-7][1-8]\\d{3,6}|(?:1[49][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}', example_number='131234567', possible_length=(5, 6, 7, 8, 9)),
mobile=PhoneNumberDesc(national_number_pattern='4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}', example_number='412345678', possible_length=(6, 7, 8, 9, 10)),
toll_free=PhoneNumberDesc(national_number_pattern='800\\d{4,6}', example_number='800123456', possible_length=(7, 8, 9)),
premium_rate=PhoneNumberDesc(national_number_pattern='[67]00\\d{5,6}', example_number='600123456', possible_length=(8, 9)),
Expand All @@ -18,12 +18,12 @@
NumberFormat(pattern='(\\d{3})(\\d{3,7})', format='\\1 \\2', leading_digits_pattern=['(?:[1-3]0|[68])0|70[07-9]'], national_prefix_formatting_rule='0\\1'),
NumberFormat(pattern='(\\d{2})(\\d{4,8})', format='\\1 \\2', leading_digits_pattern=['[14]|2[09]|50|7[135]'], national_prefix_formatting_rule='0\\1'),
NumberFormat(pattern='(\\d{2})(\\d{6,10})', format='\\1 \\2', leading_digits_pattern=['7'], national_prefix_formatting_rule='0\\1'),
NumberFormat(pattern='(\\d)(\\d{4,9})', format='\\1 \\2', leading_digits_pattern=['(?:1[3-79]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9'], national_prefix_formatting_rule='0\\1')],
NumberFormat(pattern='(\\d)(\\d{4,9})', format='\\1 \\2', leading_digits_pattern=['(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9'], national_prefix_formatting_rule='0\\1')],
intl_number_format=[NumberFormat(pattern='(\\d{5})', format='\\1', leading_digits_pattern=['20[2-59]']),
NumberFormat(pattern='(\\d{3})(\\d{3,7})', format='\\1 \\2', leading_digits_pattern=['(?:[1-3]0|[68])0|70[07-9]']),
NumberFormat(pattern='(\\d{2})(\\d{4,8})', format='\\1 \\2', leading_digits_pattern=['[14]|2[09]|50|7[135]']),
NumberFormat(pattern='(\\d{2})(\\d{6,10})', format='\\1 \\2', leading_digits_pattern=['7']),
NumberFormat(pattern='(\\d)(\\d{4,9})', format='\\1 \\2', leading_digits_pattern=['(?:1[3-79]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9'])],
NumberFormat(pattern='(\\d)(\\d{4,9})', format='\\1 \\2', leading_digits_pattern=['(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9'])],
main_country_for_code=True,
leading_digits='1[03-79]|[2-9]',
mobile_number_portable_region=True)
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(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|77\\d)|1(?:1(?:[03][01]|[124]\\d)|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200)|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}|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}', 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(?: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)|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200)|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}|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}', 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
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_GY.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PHONE_METADATA_GY = PhoneMetadata(id='GY', country_code=592, international_prefix='001',
general_desc=PhoneNumberDesc(national_number_pattern='(?:[2-8]\\d{3}|9008)\\d{3}', possible_length=(7,)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}', example_number='2201234', possible_length=(7,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:510|6\\d\\d|7(?:[013]\\d|2[0-25-8]|4[0-29]|5[1-9]))\\d{4}', example_number='6091234', possible_length=(7,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:510|6\\d\\d|7(?:[0135]\\d|2[0-8]|4[0-24-9]))\\d{4}', example_number='6091234', possible_length=(7,)),
toll_free=PhoneNumberDesc(national_number_pattern='(?:289|8(?:00|6[28]|88|99))\\d{4}', example_number='2891234', possible_length=(7,)),
premium_rate=PhoneNumberDesc(national_number_pattern='9008\\d{3}', example_number='9008123', possible_length=(7,)),
voip=PhoneNumberDesc(national_number_pattern='515\\d{4}', example_number='5151234', possible_length=(7,)),
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_HK.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PHONE_METADATA_HK = PhoneMetadata(id='HK', country_code=852, international_prefix='00(?:30|5[09]|[126-9]?)',
general_desc=PhoneNumberDesc(national_number_pattern='8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}', possible_length=(5, 6, 7, 8, 9, 11)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[59]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}', example_number='21234567', possible_length=(8,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|848[0-35-9]|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-8]|6[02357-9])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[129]|84[0-29]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}', example_number='51234567', possible_length=(8,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|848[0-35-9]|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-8]|6[02357-9]|70)|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-39]|84[0-29]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}', example_number='51234567', possible_length=(8,)),
toll_free=PhoneNumberDesc(national_number_pattern='800\\d{6}', example_number='800123456', possible_length=(9,)),
premium_rate=PhoneNumberDesc(national_number_pattern='900(?:[0-24-9]\\d{7}|3\\d{1,4})', example_number='90012345678', possible_length=(5, 6, 7, 8, 11)),
personal_number=PhoneNumberDesc(national_number_pattern='8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}', example_number='81123456', possible_length=(8,)),
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_IL.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
toll_free=PhoneNumberDesc(national_number_pattern='1(?:255|80[019]\\d{3})\\d{3}', example_number='1800123456', possible_length=(7, 10)),
premium_rate=PhoneNumberDesc(national_number_pattern='1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}', example_number='1919123456', possible_length=(8, 10)),
shared_cost=PhoneNumberDesc(national_number_pattern='1700\\d{6}', example_number='1700123456', possible_length=(10,)),
voip=PhoneNumberDesc(national_number_pattern='7(?:38(?:0\\d|5[0-29]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}', example_number='771234567', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='7(?:38(?:0\\d|5[0-259]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}', example_number='771234567', possible_length=(9,)),
uan=PhoneNumberDesc(national_number_pattern='1599\\d{6}', example_number='1599123456', possible_length=(10,)),
voicemail=PhoneNumberDesc(national_number_pattern='151\\d{8,9}', example_number='15112340000', possible_length=(11, 12)),
no_international_dialling=PhoneNumberDesc(national_number_pattern='1700\\d{6}', possible_length=(10,)),
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-8]|71)|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(?:0[0-3]|3[013]))\\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[0-4]|3[013]))\\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 76e63cd

Please sign in to comment.