protected function getMatch($expr)
	{
		if (preg_match($this->regexp, $expr, $m))
		{
			foreach ($m as $name => $match)
			{
				if ($match !== '' && isset($this->callbacks[$name]))
				{
					return [$name, $this->getArguments($m, $name)];
				}
			}
		}

		return null;
	}
protected function getMatch($expr)
	{
		if (preg_match($this->regexp, $expr, $m))
		{
			foreach ($m as $name => $match)
			{
				if ($match !== '' && isset($this->callbacks[$name]))
				{
					return [$name, $this->getArguments($m, $name)];
				}
			}
		}

		return null;
	}
protected function getMatch ( $ expr ) { if ( preg_match ( $ this -> regexp , $ expr , $ m ) ) { foreach ( $ m as $ name => $ match ) { if ( $ match !== '' && isset ( $ this -> callbacks [ $ name ] ) ) { return [ $ name , $ this -> getArguments ( $ m , $ name ) ] ; } } } return null ; }
Get the match generated by this instance's regexp on given XPath expression

@param  string     $expr XPath expression
@return array|null       Array of [<match name>, <arguments>] or NULL
Get the match generated by this instance s regexp on given XPath expression