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

x/valibot/src/regex.ts>EMOJI_REGEX

The modular and type safe schema library for validating structural data 🤖
Latest
variable EMOJI_REGEX
import { EMOJI_REGEX } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/regex.ts";

Emoji regex from emoji-regex-xs v1.0.0 (MIT license).

Hint: We decided against the newer /^\p{RGI_Emoji}+$/v regex because it is not supported in older runtimes and does not match all emoji.

type

RegExp