Module

x/zod/external.ts>ZodString#regex

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method ZodString.prototype.regex
import { ZodString } from "https://dotland.deno.dev/x/zod@v3.18.0/external.ts";

Parameters

regex: RegExp
optional
message: errorUtil.ErrMessage