Skip to content

API DocumentationDocs


API Documentation / _PathParserOptions

Interface: _PathParserOptions

Internal

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

Internal

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.