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'; } /**