Skip to main content
Module

x/path_to_regexp/index.ts>parse

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

Parse a string for the raw tokens.

Parameters

str: string
optional
options: ParseOptions = [UNSUPPORTED]