method z.ZodString.prototype.regeximport { z } from "https://deno.land/x/pup@1.0.0-rc.9/deps.ts"; const { ZodString } = z; regex(regex: RegExp, message?: errorUtil.ErrMessage)Parametersregex: RegExpoptionalmessage: errorUtil.ErrMessage