Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/actions/regex/index.ts>RegexIssue

The modular and type safe schema library for validating structural data 🤖
Latest
interface RegexIssue
implements BaseIssue<TInput>
import { type RegexIssue } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/actions/regex/index.ts";

Regex issue type.

Type Parameters

TInput extends string

Properties

readonly
kind: "validation"

The issue kind.

readonly
type: "regex"

The issue type.

readonly
expected: string

The expected input.

readonly
received: `"${string}"`

The received input.

readonly
requirement: RegExp

The regex pattern.