Skip to content

Commit 847b95b

Browse files
author
Marijo Macinkovic
committed
#8863: Malta zipcode validation incomplete
1 parent 378ac7a commit 847b95b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,9 @@
277277
</zip>
278278
<zip countryCode="MT">
279279
<codes>
280-
<code id="pattern_1" active="true" example="ABC 123">^[a-zA-Z]{3}\s[0-9]{3}$</code>
281-
<code id="pattern_2" active="true" example="ABC 12">^[a-zA-Z]{3}\s[0-9]{2}$</code>
280+
<code id="pattern_1" active="true" example="ABC 1234">^[a-zA-Z]{3}\s[0-9]{4}$</code>
281+
<code id="pattern_2" active="true" example="ABC 123">^[a-zA-Z]{3}\s[0-9]{3}$</code>
282+
<code id="pattern_3" active="true" example="ABC 12">^[a-zA-Z]{3}\s[0-9]{2}$</code>
282283
</codes>
283284
</zip>
284285
<zip countryCode="MH">

0 commit comments

Comments
 (0)