Skip to main content
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://deno.land/x/path_to_regexp@v7.1.0/index.ts";

Parse a string for the raw tokens.

Parameters

str: string
optional
options: ParseOptions = [UNSUPPORTED]