Method
RegexRoute.Match
Match(string, Router) #
Tests if the specified request path matches this route path. The HTTP method is validated by the Router after the path matches.
public override RouteMatch Match(string requestPath, Router router)Parameters #
requestPath string
The request path to test.
router Router
The router which is matching this route.
Returns #
A RouteMatch with the match result and the captured route parameters.