mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-31 14:15:25 +00:00
Add free-spacing flag to the emoji regex (#100)
This commit is contained in:
committed by
GingerPlusPlus
parent
c0d0145197
commit
7aa5c3ff37
@@ -18,7 +18,7 @@ const entry = group => group.username
|
||||
? `- @${group.username}`
|
||||
: `- <a href="${group.link}">${escapeHtml(group.title)}</a>`;
|
||||
|
||||
const emojiRegex = XRegExp.tag('g')`
|
||||
const emojiRegex = XRegExp.tag('gx')`
|
||||
[\uE000-\uF8FF]|
|
||||
\uD83C[\uDC00-\uDFFF]|
|
||||
\uD83D[\uDC00-\uDFFF]|
|
||||
|
Reference in New Issue
Block a user