From d7faef18fc7110b233b81c8d18006e74c6c49a52 Mon Sep 17 00:00:00 2001 From: Bojan Zivanovic Date: Tue, 28 Nov 2023 19:04:35 +0100 Subject: [PATCH] Fix regression, old postal code format for KZ is 6 digits, not 5. --- src/AddressFormat/AddressFormatRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AddressFormat/AddressFormatRepository.php b/src/AddressFormat/AddressFormatRepository.php index 65db0baa..a5a4ac3f 100644 --- a/src/AddressFormat/AddressFormatRepository.php +++ b/src/AddressFormat/AddressFormatRepository.php @@ -812,7 +812,7 @@ protected function getDefinitions(): array 'addressLine1', 'locality', 'postalCode', ], 'administrative_area_type' => 'region', - 'postal_code_pattern' => '\d{5}|[A-Z0-9]{7}', + 'postal_code_pattern' => '\d{6}|[A-Z0-9]{7}', 'subdivision_depth' => 1, ], 'LA' => [