UriPattern constructor
UriPattern(
- String template
Compiles template into matchable segments. Leading/trailing slashes and
empty segments are ignored, so /a/b/ and a/b compile identically.
Audited: 2026-06-12 11:26 EDT
Implementation
UriPattern(String template) : _segments = _compile(template);