X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/51287d545b1e6a7054726e5bccefae03839229ad..refs/pull/5725/head:/app/Search/SearchOptions.php diff --git a/app/Search/SearchOptions.php b/app/Search/SearchOptions.php index a6f820299..bf527d9c3 100644 --- a/app/Search/SearchOptions.php +++ b/app/Search/SearchOptions.php @@ -181,7 +181,7 @@ class SearchOptions protected static function parseStandardTermString(string $termString): array { $terms = explode(' ', $termString); - $indexDelimiters = SearchIndex::$delimiters; + $indexDelimiters = implode('', array_diff(str_split(SearchIndex::$delimiters), str_split(SearchIndex::$softDelimiters))); $parsed = [ 'terms' => [], 'exacts' => [],