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;
	}