Module

x/path_to_regexp/index.ts>parse

Turn a path string such as `/user/:name` into a regular expression
Go to Latest
function parse
import { parse } from "https://dotland.deno.dev/x/path_to_regexp@v6.2.1/index.ts";

Parse a string for the raw tokens.

Parameters

str: string
optional
options: ParseOptions = [UNSUPPORTED]