URLPatternResult
interface
interface URLPatternResultURLPatternResult is the object returned from URLPattern.exec.
Properties
inputs
inputs: [URLPatternInit] | [URLPatternInit, string]The inputs provided when matching.
protocol
protocol: URLPatternComponentResultThe matched result for the protocol matcher.
username
username: URLPatternComponentResultThe matched result for the username matcher.
password
password: URLPatternComponentResultThe matched result for the password matcher.
hostname
hostname: URLPatternComponentResultThe matched result for the hostname matcher.
port
port: URLPatternComponentResultThe matched result for the port matcher.
pathname
pathname: URLPatternComponentResultThe matched result for the pathname matcher.
search
search: URLPatternComponentResultThe matched result for the search matcher.
hash
hash: URLPatternComponentResultThe matched result for the hash matcher.