fix search engine. better match with modifier u (UTF8) for option \b
This commit is contained in:
parent
ad346abb8f
commit
137ba6caa5
@ -363,7 +363,7 @@ class libEPC
|
||||
# Plural
|
||||
$x = $filter['plural'] ? $p . 's|' . $p : $p;
|
||||
# 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
|
||||
if (!$count) {
|
||||
return $s;
|
||||
|
Loading…
Reference in New Issue
Block a user