dot-matchPath: Regex path query

Description Usage Arguments Value

Description

This function is used in the Router$invoke() method to match middleware paths to request paths.

Usage

1
.matchPath(pattern, path, ...)

Arguments

pattern

String pattern to parse. (A middleware path.)

path

Path to match to. (A request path.)

...

Additional parameters passed to regexpr().

Value

A List with information on matching paths and URL parameters.


beakr documentation built on April 7, 2021, 1:06 a.m.