From 04ded11d02235148d7a3793b61cf96db1a17cd90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20De=20Cuyper?= Date: Mon, 7 Aug 2023 21:39:29 +0200 Subject: [PATCH] Fix BE regex (#43) --- src/Validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Validator.php b/src/Validator.php index b2d4dc9..4b84dee 100644 --- a/src/Validator.php +++ b/src/Validator.php @@ -22,7 +22,7 @@ class Validator */ private $patterns = array( 'AT' => 'U[A-Z\d]{8}', - 'BE' => '[0|1]{1}\d{9}', + 'BE' => '[01]{1}\d{9}', 'BG' => '\d{9,10}', 'CH' => 'E(-| ?)(\d{3}(\.)\d{3}(\.)\d{3}|\d{9})( ?)(MWST|TVA|IVA)?', 'CY' => '\d{8}[A-Z]',