MCPcopy
hub / github.com/colinhacks/zod / regex

Function regex

packages/zod/src/v4/classic/schemas.ts:408–410  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

406
407 _installLazyMethods(inst, "_ZodString", {
408 regex(...args) {
409 return this.check((checks.regex as any)(...args));
410 },
411 includes(...args) {
412 return this.check((checks.includes as any)(...args));
413 },

Callers

nothing calls this directly

Calls 1

checkMethod · 0.65

Tested by

no test coverage detected