public function match($uri)
    {
        if (preg_match($this->getParsedPattern(), trim($uri), $matches) > 0) {

            $this->parameters = array_slice($matches, 1);

            return true;
        }

        return false;
    }