Home
last modified time | relevance | path

Searched refs:preg_quote (Results 1 – 9 of 9) sorted by relevance

/webtrees/app/Module/
H A DFixSearchAndReplace.php43 use function preg_quote; alias
379 return '/' . preg_quote($search, '/') . '/u' . $case;
382 return '/\b' . preg_quote($search, '/') . '\b/u' . $case;
385 … return '/\b' . strtr(preg_quote($search, '/'), ['\*' => '.*', '\?' => '.']) . '\b/u' . $case;
H A DFixPlaceNames.php30 use function preg_quote; alias
135 $search = preg_quote($params['search-for'], '/');
178 $search = preg_quote($params['search-for'], '/');
/webtrees/app/Http/RequestHandlers/
H A DSearchReplaceAction.php129 $query = preg_quote($search, '/');
154 … $pattern = '/(\n(?:' . implode('|', $name_tags) . ') .*)' . preg_quote($search, '/') . '/i';
180 $pattern = '/(\n\d PLAC\b.* )' . preg_quote($search, '/') . '([,\n])/i';
H A DAutoCompleteCitation.php32 use function preg_quote; alias
52 $regex_query = strtr(preg_quote($query, '/'), [' ' => '.+']);
H A DContactAction.php41 use function preg_quote; alias
121 …if (preg_match('/(?!' . preg_quote($base_url, '/') . ')(((?:ftp|http|https):\/\/)[a-zA-Z0-9.-]+)/'…
H A DRegisterAction.php270 …if (preg_match('/(?!' . preg_quote($base_url, '/') . ')(((?:http|https):\/\/)[a-zA-Z0-9.-]+)/', $c…
/webtrees/app/Statistics/Google/
H A DChartDistribution.php32 use function preg_quote; alias
268 …$place_regex = '/\n1 ' . $fact . '(?:\n[2-9].*)*\n2 PLAC.*[, ]' . preg_quote($row->place, '(?:\n|$…
/webtrees/app/Services/
H A DSearchService.php56 use function preg_quote; alias
752 … $like = "%\n1 NAME%\n2 " . $parts[2] . ' %' . preg_quote($field_value, '/') . '%';
876 … $regex = '/\n1 NAME.*(?:\n2.*)*\n2 ' . $parts[2] . ' .*' . preg_quote($field_value, '/') . '/i';
909 $regex = '/' . preg_quote($field_value, '/') . '/i';
/webtrees/
H A Dphpstan-baseline.neon9556 message: '#^Parameter \#1 \$str of function preg_quote expects string, mixed given\.$#'