We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e4b2e7 commit edf4e6fCopy full SHA for edf4e6f
1 file changed
src/CONST/index.ts
@@ -3472,7 +3472,7 @@ const CONST = {
3472
EMOJI_SKIN_TONES: /[\u{1f3fb}-\u{1f3ff}]/gu,
3473
/** Regex to match emojis that are not wrapped in `<emoji>` tags */
3474
get UNWRAPPED_EMOJI() {
3475
- return new RegExp(`(?:(?!<emoji[^>]*>))(${CONST.REGEX.EMOJIS.source})(?:(?!</emoji[^>]*>))`, 'gu');
+ return new RegExp(`(?:(?!<emoji[^>]*>))(${this.EMOJIS.source})(?:(?!</emoji[^>]*>))`, 'gu');
3476
},
3477
3478
PRIVATE_USER_AREA: /[\uE000-\uF8FF\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]/u,
0 commit comments