original_string: public function isMatch($pathInfo)
  	{
  		$this->compile();
  
  		$pathInfo = trim($pathInfo, '/');
  
  		if (!preg_match($this->pattern, $pathInfo, $paramValues))
  		{
  			return false;
  		}
  
  		foreach ($this->paramNames as $name)
  		{
  			$this->params[$name] = isset($paramValues[$name]) ? urldecode($paramValues[$name]) : null;
  		}
  
          return true;
  	}
code: public function isMatch($pathInfo)
  	{
  		$this->compile();
  
  		$pathInfo = trim($pathInfo, '/');
  
  		if (!preg_match($this->pattern, $pathInfo, $paramValues))
  		{
  			return false;
  		}
  
  		foreach ($this->paramNames as $name)
  		{
  			$this->params[$name] = isset($paramValues[$name]) ? urldecode($paramValues[$name]) : null;
  		}
  
          return true;
  	}
code_tokens: public function isMatch ( $ pathInfo ) { $ this -> compile ( ) ; $ pathInfo = trim ( $ pathInfo , '/' ) ; if ( ! preg_match ( $ this -> pattern , $ pathInfo , $ paramValues ) ) { return false ; } foreach ( $ this -> paramNames as $ name ) { $ this -> params [ $ name ] = isset ( $ paramValues [ $ name ] ) ? urldecode ( $ paramValues [ $ name ] ) : null ; } return true ; }
docstring: Determine matching route by given uri.
  
  @param string $pathInfo
  @return bool
docstring_tokens: Determine matching route by given uri .