@@ -1024,6 +1024,17 @@ const metadataFormatsByIsoCode = <IsoCode, PhoneMetadataFormats>{
1024
1024
)
1025
1025
],
1026
1026
IsoCode .CN : [
1027
+ PhoneMetadataFormat (
1028
+ pattern: r"(\d{5,6})" ,
1029
+ nationalPrefixFormattingRule: null ,
1030
+ leadingDigits: [
1031
+ "1(?:00|2[13])|95" ,
1032
+ "1(?:00|2(?:11|39))|95" ,
1033
+ "1(?:00|2(?:110|395))|95"
1034
+ ],
1035
+ format: r"$1" ,
1036
+ intlFormat: r"NA" ,
1037
+ ),
1027
1038
PhoneMetadataFormat (
1028
1039
pattern: r"(\d{5,6})" ,
1029
1040
nationalPrefixFormattingRule: null ,
@@ -1719,7 +1730,7 @@ const metadataFormatsByIsoCode = <IsoCode, PhoneMetadataFormats>{
1719
1730
IsoCode .GA : [
1720
1731
PhoneMetadataFormat (
1721
1732
pattern: r"(\d)(\d{2})(\d{2})(\d{2})" ,
1722
- nationalPrefixFormattingRule: r"0 $FG" ,
1733
+ nationalPrefixFormattingRule: r"$NP $FG" ,
1723
1734
leadingDigits: ["[2-7]" ],
1724
1735
format: r"$1 $2 $3 $4" ,
1725
1736
intlFormat: null ,
@@ -1733,8 +1744,8 @@ const metadataFormatsByIsoCode = <IsoCode, PhoneMetadataFormats>{
1733
1744
),
1734
1745
PhoneMetadataFormat (
1735
1746
pattern: r"(\d{2})(\d{2})(\d{2})(\d{2})" ,
1736
- nationalPrefixFormattingRule: r"0 $FG" ,
1737
- leadingDigits: ["11|[67 ]" ],
1747
+ nationalPrefixFormattingRule: r"$NP $FG" ,
1748
+ leadingDigits: ["[167 ]" ],
1738
1749
format: r"$1 $2 $3 $4" ,
1739
1750
intlFormat: null ,
1740
1751
)
@@ -4604,7 +4615,7 @@ const metadataFormatsByIsoCode = <IsoCode, PhoneMetadataFormats>{
4604
4615
PhoneMetadataFormat (
4605
4616
pattern: r"(\d{2})(\d{5})" ,
4606
4617
nationalPrefixFormattingRule: null ,
4607
- leadingDigits: ["7|8[4-9]|9(?:[1-8]|9[0-8])" ],
4618
+ leadingDigits: ["6[89]| 7|8[4-9]|9(?:[1-8]|9[0-8])" ],
4608
4619
format: r"$1 $2" ,
4609
4620
intlFormat: null ,
4610
4621
)
@@ -5127,7 +5138,7 @@ const metadataFormatsByIsoCode = <IsoCode, PhoneMetadataFormats>{
5127
5138
PhoneMetadataFormat (
5128
5139
pattern: r"(\d{2})(\d{6})" ,
5129
5140
nationalPrefixFormattingRule: r"$NP $FG" ,
5130
- leadingDigits: ["6 " ],
5141
+ leadingDigits: ["[67] " ],
5131
5142
format: r"$1 $2" ,
5132
5143
intlFormat: null ,
5133
5144
)
@@ -5571,9 +5582,16 @@ const metadataFormatsByIsoCode = <IsoCode, PhoneMetadataFormats>{
5571
5582
PhoneMetadataFormat (
5572
5583
pattern: r"(\d{3})(\d{3})(\d{3})" ,
5573
5584
nationalPrefixFormattingRule: r"$NP$FG" ,
5574
- leadingDigits: ["[23] " ],
5585
+ leadingDigits: ["2|39 " ],
5575
5586
format: r"$1 $2 $3" ,
5576
5587
intlFormat: null ,
5588
+ ),
5589
+ PhoneMetadataFormat (
5590
+ pattern: r"(\d{2})(\d{7,10})" ,
5591
+ nationalPrefixFormattingRule: r"$NP$FG" ,
5592
+ leadingDigits: ["3" ],
5593
+ format: r"$1 $2" ,
5594
+ intlFormat: null ,
5577
5595
)
5578
5596
],
5579
5597
IsoCode .YE : [
0 commit comments