Skip to content

Commit

Permalink
v8.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Clegg committed Dec 1, 2017
1 parent 6bc781e commit f1b1f5f
Show file tree
Hide file tree
Showing 14 changed files with 2,859 additions and 337 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 8.8.6
version: 8.8.7
image: Visual Studio 2017
configuration: Release
branches:
Expand Down
19 changes: 15 additions & 4 deletions csharp/PhoneNumbers/PhoneNumberAlternateFormats.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<!ELEMENT intlFormat (#PCDATA)>

<!ATTLIST territory countryCode CDATA #REQUIRED>
<!ATTLIST territory nationalPrefix CDATA #IMPLIED>
<!ATTLIST numberFormat nationalPrefixFormattingRule CDATA #IMPLIED>
<!ATTLIST numberFormat pattern CDATA #REQUIRED>
]>
Expand All @@ -59,7 +60,7 @@
<territory countryCode="971">
<availableFormats>
<numberFormat pattern="(5[0256])(\d{4})(\d{3})">
<leadingDigits>5</leadingDigits>
<leadingDigits>5[0256]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
Expand Down Expand Up @@ -1052,9 +1053,11 @@
<territory countryCode="34" >
<availableFormats>
<numberFormat pattern="([5-9]\d{2})(\d{3})(\d{3})">
<leadingDigits>[5-9]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(9\d)(\d{3})(\d{2})(\d{2})">
<leadingDigits>9</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
</availableFormats>
Expand Down Expand Up @@ -1196,7 +1199,7 @@
</territory>

<!-- Indonesia (ID) -->
<territory countryCode="62">
<territory countryCode="62" nationalPrefix="0">
<availableFormats>
<numberFormat nationalPrefixFormattingRule="($NP$FG)"
pattern="(\d{2})(\d{3,4})(\d{4})">
Expand Down Expand Up @@ -1226,7 +1229,7 @@
</territory>

<!-- Israel (IL) -->
<territory countryCode="972">
<territory countryCode="972" nationalPrefix="0">
<availableFormats>
<numberFormat nationalPrefixFormattingRule="$NP$FG"
pattern="([2-489])(\d{3})(\d{2})(\d{2})">
Expand All @@ -1237,7 +1240,7 @@
</territory>

<!-- India (IN) -->
<territory countryCode="91">
<territory countryCode="91" nationalPrefix="0">
<availableFormats>
<!-- Mobile numbers. These are typically written XXXXX-XXXXX but other formats have
been seen online. Some common ones are listed below. Note we don't go into
Expand Down Expand Up @@ -1421,6 +1424,14 @@
<!-- Sri Lanka (LK) -->
<territory countryCode="94">
<availableFormats>
<numberFormat pattern="(\d{2})(\d{1})(\d{6})">
<leadingDigits>[1-689]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{6})">
<leadingDigits>[1-689]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{3})(\d{3})">
<leadingDigits>7</leadingDigits>
<format>$1 $2 $3</format>
Expand Down
Loading

0 comments on commit f1b1f5f

Please sign in to comment.