Closed dmnc closed 5 years ago
It looks like there is a bug where the Portugal postcode regexes for Madeira and The Azores are the wrong way round.
Reference the list here: https://en.wikipedia.org/wiki/List_of_postal_codes_in_Portugal#Ilha_da_Madeira
The Madeira ones match with the /(9)[0-4]... version and the Azores with /(9)[5-9]... one. The PR simply switches them.
/(9)[0-4]...
/(9)[5-9]...
There is also an issue that we are missing a pt_20_vat.json but I will address that in another PR.
Thanks!
@bojanz thanks for merging. Any chance you could drop a release so that I can pull this in as stable with composer please?
It looks like there is a bug where the Portugal postcode regexes for Madeira and The Azores are the wrong way round.
Reference the list here: https://en.wikipedia.org/wiki/List_of_postal_codes_in_Portugal#Ilha_da_Madeira
The Madeira ones match with the
/(9)[0-4]...
version and the Azores with/(9)[5-9]...
one. The PR simply switches them.There is also an issue that we are missing a pt_20_vat.json but I will address that in another PR.