From 5aebda2d16c3ed3e8ec857108416667d599a4ce2 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Fri, 15 Jul 2022 17:57:53 +0100 Subject: [PATCH] chore: restrict emojis to lowercase --- crates/delta/src/util/regex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/delta/src/util/regex.rs b/crates/delta/src/util/regex.rs index 1c5b90d1..5ac6a710 100644 --- a/crates/delta/src/util/regex.rs +++ b/crates/delta/src/util/regex.rs @@ -11,4 +11,4 @@ pub static RE_USERNAME: Lazy = /// Regex for valid emoji names /// /// Alphanumeric and underscores -pub static RE_EMOJI: Lazy = Lazy::new(|| Regex::new(r"^[a-zA-Z0-9_]+$").unwrap()); +pub static RE_EMOJI: Lazy = Lazy::new(|| Regex::new(r"^[a-z0-9_]+$").unwrap());