From 9f28d95b0ad9a736c643b2e93c83e67399fcc2f6 Mon Sep 17 00:00:00 2001 From: Makr Date: Thu, 27 Oct 2022 09:51:57 +0200 Subject: [PATCH] Add validation of XI (Northern Ireland) (#40) --- src/Validator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Validator.php b/src/Validator.php index 0afe7f2..45d94d3 100644 --- a/src/Validator.php +++ b/src/Validator.php @@ -50,7 +50,8 @@ class Validator 'RO' => '\d{2,10}', 'SE' => '\d{12}', 'SI' => '\d{8}', - 'SK' => '\d{10}' + 'SK' => '\d{10}', + 'XI' => '\d{9,12}|(GD|HA)\d{3}' ); /**