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

x/valibot/src/index.ts>EMOJI_REGEX

The modular and type safe schema library for validating structural data 🤖
Latest
variable EMOJI_REGEX
Re-export
import { EMOJI_REGEX } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/index.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