PéCé
2024-11-21 11:11:57 +01:00
parent c5c142ebbf
commit 8df3cd689c

View File

@ -159,7 +159,7 @@ class Target {
* @return String regular expression pattern * @return String regular expression pattern
*/ */
private function buildRegex( $searchTerm ) { private function buildRegex( $searchTerm ) {
return '/(?<![\:\.\@\/\?\&])' . $this->wordStart . $searchTerm . $this->wordEnd . '/S'; return '/(?<![\:\.\@\/\?\&])' . $this->wordStart . $searchTerm . $this->wordEnd . '/Su';
} }
/** /**