Matches a given URL against a list of string patterns to determine if it adheres to any specified pattern.
The URL object that needs to be tested against the patterns.
An array of string patterns that define the routes to match against.
Returns true if the URL matches any of the given patterns; otherwise, returns false.
If provided URL protocol is not http: or https:.
http:
https:
If one of the provided patterns contains a query string or infix wildcard.
Matches a given URL against a list of string patterns to determine if it adheres to any specified pattern.