From aaad5a6e4bbe3e0292c0719a3a364c83062b2ebc Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 22 Dec 2023 17:41:26 +0200 Subject: [PATCH] fix namespace detection --- src/Twig/AppExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Twig/AppExtension.php b/src/Twig/AppExtension.php index 0f6f3fc..ffbc3f3 100644 --- a/src/Twig/AppExtension.php +++ b/src/Twig/AppExtension.php @@ -218,7 +218,7 @@ class AppExtension extends AbstractExtension ): string { // Search not filtered namespaces - if (preg_match_all('~(N[A-z0-9]{33})~i', $text, $matches)) + if (preg_match_all('~(N[A-z0-9]{33})~', $text, $matches)) { if (empty($matches[1])) {