uri matcher
Public fields
pattern
(character) pattern holder
regex
a logical
query_params
a list, or
NULL
if emptypartial
bool, default:
FALSE
partial_type
a string, default: NULL
Methods
Method new()
Create a new UriPattern
object
Usage
UriPattern$new(pattern = NULL, regex_pattern = NULL)
Arguments
pattern
(character) a uri, as a character string. if scheme is missing, it is added (we assume http)
regex_pattern
(character) a uri as a regex character string, see base::regex. if scheme is missing, it is added (we assume http)
Method matches()
Match a uri against a pattern