fix search engine. better match with modifier u (UTF8) for option \b
This commit is contained in:
parent
ad346abb8f
commit
137ba6caa5
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ class libEPC
|
||||||
# Plural
|
# Plural
|
||||||
$x = $filter['plural'] ? $p . 's|' . $p : $p;
|
$x = $filter['plural'] ? $p . 's|' . $p : $p;
|
||||||
# Mark words
|
# Mark words
|
||||||
$s = preg_replace('#(' . $before . ')(' . $x . ')(' . $after . ')#s' . $i, '$1ççççç$2ççççç$3', $s, -1, $count);
|
$s = preg_replace('#(' . $before . ')(' . $x . ')(' . $after . ')#su' . $i, '$1ççççç$2ççççç$3', $s, -1, $count);
|
||||||
# Nothing to parse
|
# Nothing to parse
|
||||||
if (!$count) {
|
if (!$count) {
|
||||||
return $s;
|
return $s;
|
||||||
|
|
Loading…
Reference in a new issue