Optional
findSearches for the fragment of the route satisfying this matcher's conditions.
In contrast to the test method this one attempts to find the matching fragment starting at some offset from
current position specified by context
, and then tries to match the remaining path against the remaining pattern.
The matching route fragment always starts within current route entry.
Route match context.
A tuple containing a match of the remaining path against the remaining pattern and
an offset within current entry name the matching route fragment starts at, or false
/null
/undefined
if match
not found.
Optional
tailDetects whether this matcher still matches after the end of the route.
Route tail match context.
true
if the route satisfies this matcher's condition, or false
otherwise.
Tests whether a fragment of the route satisfying this matcher's conditions.
Route match context.
Route match instance specifying a matching route fragment,
or false
/null
/undefined
otherwise.
Generated using TypeDoc
Route fragment matcher.