diff --git a/classes/Tools.php b/classes/Tools.php index ad4a3d8a0..1efc0e4a7 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -1832,7 +1832,7 @@ FileETag INode MTime Size public static function pRegexp($s, $delim) { $s = str_replace($delim, '\\'.$delim, $s); - foreach (array('?', '[', ']', '(', ')', '{', '}', '-', '.', '+', '*', '^', '$') as $char) + foreach (array('?', '[', ']', '(', ')', '{', '}', '-', '.', '+', '*', '^', '$', '`', '"', '%') as $char) $s = str_replace($char, '\\'.$char, $s); return $s; }