Lines Matching refs:match
209 public function rewrite_redirect($match, $state, $pos, $plugin, helper_plugin_move_handler $handler) {
211 if ($metadata[1]) return $match; // Fail-safe for external redirection (Do not rewrite)
213 $match = trim($match);
215 if (substr($match, 0, 1) == "~") {
219 $match = substr($match, 2, strlen($match) - 4);
221 list($syntax, $src, $anchor) = array_pad(preg_split("/>|#/", $match), 3, "");
237 } else if (substr($match, 0, 1) == "#") {
241 $match = substr($match, 1);
243 list($syntax, $src, $anchor) = array_pad(preg_split("/ |#/", $match), 3, "");
260 return $match;