From 2ecf73db62b4f49656c1e13bd1821dce0b02c8be Mon Sep 17 00:00:00 2001 From: Enoal Le Moigne <[elemoigne@gorillagroup.com](mailto:elemoigne@gorillagroup.com)> Date: Wed, 8 Oct 2025 14:28:30 -0400 Subject: [PATCH] ZSD-22265 Allow brackets in name --- Rewrite/Magento/Customer/Model/Validator/Name.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rewrite/Magento/Customer/Model/Validator/Name.php b/Rewrite/Magento/Customer/Model/Validator/Name.php index cb10dab..089deda 100644 --- a/Rewrite/Magento/Customer/Model/Validator/Name.php +++ b/Rewrite/Magento/Customer/Model/Validator/Name.php @@ -14,7 +14,7 @@ */ class Name extends \Magento\Customer\Model\Validator\Name { - private const PATTERN_NAME = '/(?:[\p{L}\p{M}\,\-\_\.\'\s\d\(\)\/\(\)]){1,255}+/u'; + private const PATTERN_NAME = '/(?:[\p{L}\p{M}\,\-\_\.\'\s\d\(\)\/\(\)]\[\]){1,255}+/u'; /** * Validate name fields.