import { regex } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/actions/regex/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.