/** * Returns an array returned by preg_match if $pattern matches. False otherwise * * @param mixed $key * @param mixed $pattern * @return mixed * * @tag filter */ function getMatched($key, $pattern) { if (!$this->keyExists($key)) { return false; } return Inspekt::getMatched($this->_getValue($key), $pattern); }