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