ui-router-server / matcher / urlMatcherFactory
Function: urlMatcherFactory()
ts
function urlMatcherFactory(config?): {
compile: <M>(pattern, options?) => CompiledMatcher<M>;
};Defined in: url-matcher.ts:648
Creates a matcher compiler — named for core's UrlMatcherFactory, whose defaults it keeps: strict trailing-slash matching, case-sensitive, percent-decoding on, and a default squash policy of false.
Parameters
| Parameter | Type |
|---|---|
config | UrlMatcherCompilerConfig |
Returns
ts
{
compile: <M>(pattern, options?) => CompiledMatcher<M>;
}| Name | Type | Defined in |
|---|---|---|
compile() | <M>(pattern, options?) => CompiledMatcher<M> | url-matcher.ts:649 |