mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@8323 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
9dcb557a5e
commit
13ee383aad
1 changed files with 3 additions and 3 deletions
|
@ -1015,9 +1015,9 @@ class fulltext_native extends search_backend
|
||||||
* Note: this could be optimized. If the codepoint is lower than Hangul's range
|
* Note: this could be optimized. If the codepoint is lower than Hangul's range
|
||||||
* we know that it will also be lower than CJK ranges
|
* we know that it will also be lower than CJK ranges
|
||||||
*/
|
*/
|
||||||
if ((strncmp($word, UTF8_HANGUL_FIRST, 3) < 0 || strncmp($word, UTF8_HANGUL_LAST, 3) > 0)
|
if ((strncmp($word, utf_normalizer::UTF8_HANGUL_FIRST, 3) < 0 || strncmp($word, utf_normalizer::UTF8_HANGUL_LAST, 3) > 0)
|
||||||
&& (strncmp($word, UTF8_CJK_FIRST, 3) < 0 || strncmp($word, UTF8_CJK_LAST, 3) > 0)
|
&& (strncmp($word, utf_normalizer::UTF8_CJK_FIRST, 3) < 0 || strncmp($word, utf_normalizer::UTF8_CJK_LAST, 3) > 0)
|
||||||
&& (strncmp($word, UTF8_CJK_B_FIRST, 4) < 0 || strncmp($word, UTF8_CJK_B_LAST, 4) > 0))
|
&& (strncmp($word, utf_normalizer::UTF8_CJK_B_FIRST, 4) < 0 || strncmp($word, utf_normalizer::UTF8_CJK_B_LAST, 4) > 0))
|
||||||
{
|
{
|
||||||
$word = strtok(' ');
|
$word = strtok(' ');
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue