MCPcopy Create free account
hub / github.com/clerk/javascript / stringToRegexp

Function stringToRegexp

packages/clerk-js/src/ui/router/pathToRegexp.ts:492–494  ·  view source on GitHub ↗

* Create a path regexp from string input.

(path: string, keys?: Key[], options?: TokensToRegexpOptions & ParseOptions)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

pathToRegexpFunction · 0.85

Calls 2

tokensToRegexpFunction · 0.85
parseFunction · 0.70

Tested by

no test coverage detected