Skip to content

Commit edf4e6f

Browse files
committed
update using this
1 parent 7e4b2e7 commit edf4e6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CONST/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3472,7 +3472,7 @@ const CONST = {
34723472
EMOJI_SKIN_TONES: /[\u{1f3fb}-\u{1f3ff}]/gu,
34733473
/** Regex to match emojis that are not wrapped in `<emoji>` tags */
34743474
get UNWRAPPED_EMOJI() {
3475-
return new RegExp(`(?:(?!<emoji[^>]*>))(${CONST.REGEX.EMOJIS.source})(?:(?!</emoji[^>]*>))`, 'gu');
3475+
return new RegExp(`(?:(?!<emoji[^>]*>))(${this.EMOJIS.source})(?:(?!</emoji[^>]*>))`, 'gu');
34763476
},
34773477

34783478
PRIVATE_USER_AREA: /[\uE000-\uF8FF\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]/u,

0 commit comments

Comments
 (0)