From 8df3cd689cad68c9cc54e91fcd37d9c1837f78c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9C=C3=A9?= Date: Thu, 21 Nov 2024 11:11:57 +0100 Subject: [PATCH] Fix https://github.com/neayi/tripleperformance/issues/417 --- includes/Target.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Target.php b/includes/Target.php index eb42076..bcc5fb4 100644 --- a/includes/Target.php +++ b/includes/Target.php @@ -159,7 +159,7 @@ class Target { * @return String regular expression pattern */ private function buildRegex( $searchTerm ) { - return '/(?wordStart . $searchTerm . $this->wordEnd . '/S'; + return '/(?wordStart . $searchTerm . $this->wordEnd . '/Su'; } /**