Searched refs:preg_quote (Results 1 – 9 of 9) sorted by relevance
/webtrees/app/Module/ |
H A D | FixSearchAndReplace.php | 43 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 D | FixPlaceNames.php | 30 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 D | SearchReplaceAction.php | 129 $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 D | AutoCompleteCitation.php | 32 use function preg_quote; alias 52 $regex_query = strtr(preg_quote($query, '/'), [' ' => '.+']);
|
H A D | ContactAction.php | 41 use function preg_quote; alias 121 …if (preg_match('/(?!' . preg_quote($base_url, '/') . ')(((?:ftp|http|https):\/\/)[a-zA-Z0-9.-]+)/'…
|
H A D | RegisterAction.php | 270 …if (preg_match('/(?!' . preg_quote($base_url, '/') . ')(((?:http|https):\/\/)[a-zA-Z0-9.-]+)/', $c…
|
/webtrees/app/Statistics/Google/ |
H A D | ChartDistribution.php | 32 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 D | SearchService.php | 56 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 D | phpstan-baseline.neon | 9556 message: '#^Parameter \#1 \$str of function preg_quote expects string, mixed given\.$#'
|