import { type URLPatternResult } from "https://deno.land/x/deno@v1.29.1/ext/url/lib.deno_url.d.ts";
URLPatternResult
is the object returned from URLPattern.exec
.
Properties
inputs: [URLPatternInit] | [URLPatternInit, string]
The inputs provided when matching.
protocol: URLPatternComponentResult
The matched result for the protocol
matcher.
username: URLPatternComponentResult
The matched result for the username
matcher.
password: URLPatternComponentResult
The matched result for the password
matcher.
hostname: URLPatternComponentResult
The matched result for the hostname
matcher.
The matched result for the port
matcher.
pathname: URLPatternComponentResult
The matched result for the pathname
matcher.
search: URLPatternComponentResult
The matched result for the search
matcher.
The matched result for the hash
matcher.