Builds a route matcher that matches a part of the name against expected regular expression, and optionally captures the match.
Reports the capture as regexp.
regexp
The regular expression the name part expected to match.
Optional
The name of the capture or nothing to capture under match index.
New route matcher.
Generated using TypeDoc
Builds a route matcher that matches a part of the name against expected regular expression, and optionally captures the match.
Reports the capture as
regexp
.