function regexpToFunctionimport { regexpToFunction } from "https://dotland.deno.dev/x/path_to_regexp@v6.2.1/index.ts"; regexpToFunction<P extends object = object>(re: RegExp,keys: Key[],options?: RegexpToFunctionOptions,): MatchFunction<P>Create a path match function from path-to-regexp output. Type ParametersoptionalP extends object = objectParametersre: RegExpkeys: Key[]optionaloptions: RegexpToFunctionOptions = [UNSUPPORTED]ReturnsMatchFunction<P>