Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Decode URL-encoded strings
rawurldecode(string $string): string
    public function decodedPath()

    {

        return 
rawurldecode($this->path());

    }
    {

        
$path rtrim($request->getPathInfo(), '/') ?: '/';



        return 
preg_match($route->getCompiled()->getRegex(), rawurldecode($path));

    }

}