# FIXME: we would want something like \Q and \E here...
if (preg_match('/^' . $tag . '\/(.*)$/', $key, $matches) ||
(isset($id) && preg_match('/^#' . $id . '\/(.*)$/', $key, $matches))) {
# FIXME: we would want something like \Q and \E here...
if (preg_match('/^' . $tag . '\/(.*)$/', $key, $matches) ||
(isset($id) && preg_match('/^#' . $id . '\/(.*)$/', $key, $matches))) {