From d93e66813d19a32cba7e11ac74577bb52d1abc79 Mon Sep 17 00:00:00 2001 From: Jacob Pyke Date: Thu, 4 Feb 2021 23:40:26 +0100 Subject: [PATCH] Updated emoji completion to allow capital letters Signed-off-by: JPyke3 --- ts/quill/emoji/completion.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/quill/emoji/completion.tsx b/ts/quill/emoji/completion.tsx index 3cc2413df..ce164ad31 100644 --- a/ts/quill/emoji/completion.tsx +++ b/ts/quill/emoji/completion.tsx @@ -123,8 +123,8 @@ export class EmojiCompletion { const [leftTokenTextMatch, rightTokenTextMatch] = matchBlotTextPartitions( blot, index, - /(?<=^|\s):([-+0-9a-z_]*)(:?)$/, - /^([-+0-9a-z_]*):/ + /(?<=^|\s):([-+0-9a-zA-Z_]*)(:?)$/, + /^([-+0-9a-zA-Z_]*):/ ); if (leftTokenTextMatch) {