Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dynablox_opencloud/src/shims/urlpattern/path-to-regex-modified.ts>TokensToRegexpOptions

A Roblox OpenCloud API wrapper for Deno and NodeJS written in TypeScript.
Latest
interface TokensToRegexpOptions
import { type TokensToRegexpOptions } from "https://deno.land/x/dynablox_opencloud@v0.2.2/src/shims/urlpattern/path-to-regex-modified.ts";

Properties

optional
sensitive: boolean

When true the regexp will be case sensitive. (default: false)

optional
strict: boolean

When true the regexp won't allow an optional trailing delimiter to match. (default: false)

optional
end: boolean

When true the regexp will match to the end of the string. (default: true)

optional
start: boolean

When true the regexp will match from the beginning of the string. (default: true)

optional
delimiter: string

Sets the final character for non-ending optimistic matches. (default: /)

optional
endsWith: string

List of characters that can also be "end" characters.

optional
encode: (value: string) => string

Encode path tokens for use in the RegExp.