Skip to content

Commit 4265688

Browse files
authored
Update zip_codes.xml patterns for Guernsey
Update zip_codes.xml patterns for Guernsey to support GY10 postcodes for the Island of Sark e.g. https://en.wikipedia.org/wiki/GY_postcode_area
1 parent ed2ffad commit 4265688

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Directory/etc/zip_codes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@
259259
<zip countryCode="GG">
260260
<codes>
261261
<code id="pattern_1" active="true" example="AB1 2CD">^[a-zA-Z]{2}[0-9]{1}\s[0-9]{1}[a-zA-Z]{2}$</code>
262+
<code id="pattern_2" active="true" example="AB12 3CD">^[a-zA-Z]{2}[0-9]{2}\s?[0-9]{1}[a-zA-Z]{2}$</code>
262263
</codes>
263264
</zip>
264265
<zip countryCode="GH">

0 commit comments

Comments
 (0)