Skip to content

API Documentation / _PathParserOptions

Interface: _PathParserOptions

Properties

end

Optional end: boolean

Should the RegExp match until the end by appending a $ to it.

Default Value

true


sensitive

Optional sensitive: boolean

Makes the RegExp case-sensitive.

Default Value

false


start

Optional start: boolean

Should the RegExp match from the beginning by prepending a ^ to it.

Default Value

true


strict

Optional strict: boolean

Whether to disallow a trailing slash or not.

Default Value

false

Released under the MIT License.