diff --git a/src/org/thoughtcrime/securesms/components/emoji/EmojiProvider.java b/src/org/thoughtcrime/securesms/components/emoji/EmojiProvider.java index 8778d2cc10..2aebf5ef6a 100644 --- a/src/org/thoughtcrime/securesms/components/emoji/EmojiProvider.java +++ b/src/org/thoughtcrime/securesms/components/emoji/EmojiProvider.java @@ -42,9 +42,9 @@ public class EmojiProvider { private final SparseArray offsets = new SparseArray<>(); @SuppressWarnings("MalformedRegex") - // 0x20a0-0x32ff 0x1f00-0x1fff 0xfe4e5-0xfe4ee - // |==== misc ====||======== emoticons ========||========= flags ==========| - private static final Pattern EMOJI_RANGE = Pattern.compile("[\\u20a0-\\u32ff\\ud83c\\udc00-\\ud83d\\udeff\\udbb9\\udce5-\\udbb9\\udcee]"); + // 0x203c,0x2049 0x20a0-0x32ff 0x1f00-0x1fff 0xfe4e5-0xfe4ee + // |== !!, ?! ==||==== misc ====||======== emoticons ========||========= flags ==========| + private static final Pattern EMOJI_RANGE = Pattern.compile("[\\u203c\\u2049\\u20a0-\\u32ff\\ud83c\\udc00-\\ud83d\\udeff\\udbb9\\udce5-\\udbb9\\udcee]"); public static final int EMOJI_RAW_HEIGHT = 64; public static final int EMOJI_RAW_WIDTH = 64;