Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>RegexIssue

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface RegexIssue
implements BaseIssue<TInput>
import { type RegexIssue } from "https://deno.land/x/valibot@v0.35.0/mod.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.