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

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

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

Create a path match function from path-to-regexp output.

Type Parameters

optional
P extends object = object

Parameters

re: RegExp
keys: Key[]
optional
options: RegexpToFunctionOptions = [UNSUPPORTED]