import { regex } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/actions/index.ts";
Creates a regex validation action.
Returns
RegexAction<TInput, undefined>
A regex action.
Creates a regex validation action.
Type Parameters
TMessage extends ErrorMessage<RegexIssue<TInput>> | undefined
Parameters
message: TMessage
The error message.
Returns
A regex action.