public static function transpilePattern($pattern, $host = false, array $requirements = [], array $defaults = [])
    {
        $tokens = self::tokenizePattern($pattern, $host, $requirements, $defaults);

        $staticPath = !$tokens[0] instanceof Variable ? $tokens[0]->value : '/';

        $regex = self::transpileMatchRegex($tokens);

        return self::getCompact($staticPath, $regex, $tokens);
    }