delimiter
when processing repeated matching groups (e.g. foo/bar
has no prefix, but has a delimiter)end: false
to match both relative and absolute pathstoken
as second argument to encode
option (e.g. encode(value, token)
)/foo/
before required either /foo/
or /foo//
to match in non-ending modeendsWith
to match paths like /test?query=string
up to the query stringdelimiters
for specific characters to be treated as parameter prefixes (e.g. /:test
)isarray
dependency/test/
is now treated as /test/
instead of /test
when matching)keys
argument that accepted options
keys
list attached to the RegExp
outputtokensToFunction
(e.g. compile
) to accept an encode
function for pretty encoding (e.g. pass your own implementation)delimiter
option to be passed in with tokensToRegExp
which will be used for "non-ending" token match situationsRegExp.keys
when using the tokensToRegExp
method (making it consistent with the main export)delimiter
option to be passed in with parse
Keys
and Options
updated\\
to the ignore character group to avoid backtracking on mismatched parens\\
in string segments of regexpindex.d.ts
to NPM package/:foo?-bar
)*
) as an unnamed match everything group ((.*)
)files
to package.json
Array.isArray
shim*
, +
and ?
devDependencies
options.end
options.end