fix search engine. better match with modifier u (UTF8) for option \b

master
Jean-Christian Paul Denis 2021-09-04 16:53:27 +02:00
parent ad346abb8f
commit 137ba6caa5
1 changed files with 1 additions and 1 deletions

View File

@ -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;