diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-27 19:32:18 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-27 19:32:18 +0000 |
| commit | 1f118ba2ae02dd1bf3ff1d3be06245b03a561180 (patch) | |
| tree | 65673c5298fa58f5f3881cde7d357f8171ca6692 /phpBB/includes/search/fulltext_native.php | |
| parent | 8e297a038c6dfed7ca892d8799cfbdb010cc0911 (diff) | |
| download | forums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.tar forums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.tar.gz forums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.tar.bz2 forums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.tar.xz forums-1f118ba2ae02dd1bf3ff1d3be06245b03a561180.zip | |
#5610
git-svn-id: file:///svn/phpbb/trunk@6674 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search/fulltext_native.php')
| -rwxr-xr-x | phpBB/includes/search/fulltext_native.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php index 07ebfc6047..df000f5e04 100755 --- a/phpBB/includes/search/fulltext_native.php +++ b/phpBB/includes/search/fulltext_native.php @@ -173,7 +173,7 @@ class fulltext_native extends search_backend { $words = array(); - preg_match_all('#([^\\s+\\-|()]+)(?:$|[\\s+\\-|()])#', $keywords, $words); + preg_match_all('#([^\\s+\\-|()]+)(?:$|[\\s+\\-|()])#u', $keywords, $words); if (sizeof($words[1])) { $keywords = '(' . implode('|', $words[1]) . ')'; @@ -184,7 +184,7 @@ class fulltext_native extends search_backend $this->search_query = $keywords; $exact_words = array(); - preg_match_all('#([^\\s+\\-|*()]+)(?:$|[\\s+\\-|()])#', $keywords, $exact_words); + preg_match_all('#([^\\s+\\-|*()]+)(?:$|[\\s+\\-|()])#u', $keywords, $exact_words); $exact_words = $exact_words[1]; if (sizeof($exact_words)) |
