From 33cc6fc1b344740dbe680dbdb995d4f70184d156 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sun, 9 Apr 2023 13:22:48 +0200 Subject: [PATCH] Fix PHP validation pattern for Hungarian Statistical Office --- src/enums/MDInstitutionExternalIdRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enums/MDInstitutionExternalIdRepository.php b/src/enums/MDInstitutionExternalIdRepository.php index c00b442..fc7a36d 100644 --- a/src/enums/MDInstitutionExternalIdRepository.php +++ b/src/enums/MDInstitutionExternalIdRepository.php @@ -19,7 +19,7 @@ enum MDInstitutionExternalIdRepository implements MDValueEnumInterface, JsonSeri ]; const VALIDATION_PATTERN_PHP = [ - 'hu_ksh' => '[0-9]{8}-[0-9]{4}-[0-9]{3}-[0-9]{2}', + 'hu_ksh' => '/^[0-9]{8}-[0-9]{4}-[0-9]{3}-[0-9]{2}$/', ]; /**