diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2015-01-29 00:02:41 +0100 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2015-01-29 00:02:41 +0100 |
| commit | f0f88c287c4969eb9c1783ace2faa8a44cf59bd9 (patch) | |
| tree | c13377bd60355af710edde5342a434a0a4abea6f /phpBB | |
| parent | e3e427fa2470c6830220671216e1c0cfcd4d81ec (diff) | |
| parent | 35edd7a0433b5d8f74febf62f192aabaefbe61b6 (diff) | |
| download | forums-f0f88c287c4969eb9c1783ace2faa8a44cf59bd9.tar forums-f0f88c287c4969eb9c1783ace2faa8a44cf59bd9.tar.gz forums-f0f88c287c4969eb9c1783ace2faa8a44cf59bd9.tar.bz2 forums-f0f88c287c4969eb9c1783ace2faa8a44cf59bd9.tar.xz forums-f0f88c287c4969eb9c1783ace2faa8a44cf59bd9.zip | |
Merge pull request #3338 from dhruvgoel92/ticket/12933
[ticket/12933] Handle *wildcard character in native search
* dhruvgoel92/ticket/12933:
[ticket/12933] Add test cases for * wildcard searches
[ticket/12933] Handle case when * is last character of word
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/phpbb/search/fulltext_native.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/search/fulltext_native.php b/phpBB/phpbb/search/fulltext_native.php index 8865d37712..93ea46ca60 100644 --- a/phpBB/phpbb/search/fulltext_native.php +++ b/phpBB/phpbb/search/fulltext_native.php @@ -300,7 +300,7 @@ class fulltext_native extends \phpbb\search\base $this->search_query = $keywords; $exact_words = array(); - preg_match_all('#([^\\s+\\-|*()]+)(?:$|[\\s+\\-|()])#u', $keywords, $exact_words); + preg_match_all('#([^\\s+\\-|()]+)(?:$|[\\s+\\-|()])#u', $keywords, $exact_words); $exact_words = $exact_words[1]; $common_ids = $words = array(); |
