const pathSpecToRegexp: ( s: string, exact?: boolean, ) => RegExp
packages / workbench / src / router / routes.ts