diff --git a/fluxer_app/src/features/messaging/utils/SlashCommandUtils.ts b/fluxer_app/src/features/messaging/utils/SlashCommandUtils.ts index dadbdecd0..0ac924f41 100644 --- a/fluxer_app/src/features/messaging/utils/SlashCommandUtils.ts +++ b/fluxer_app/src/features/messaging/utils/SlashCommandUtils.ts @@ -4,8 +4,8 @@ import type {Command} from '@app/features/devtools/hooks/useCommands'; const MENTION_REGEX = /(^|\s)@(\S*)$/; const CHANNEL_REGEX = /(^|\s)#(\S*)$/; -const EMOJI_REGEX = /(^|\s):([a-z0-9_+-]{2,})$/i; -const EMOJI_REACTION_REGEX = /^\s*\+:([a-z0-9_+-]*):?$/i; +const EMOJI_REGEX = /(^|\s):([a-z0-9_+~-]{2,})$/i; +const EMOJI_REACTION_REGEX = /^\s*\+:([a-z0-9_+~-]*):?$/i; const COMMAND_REGEX = /(^\s*)\/(\S*)$/; const MEME_SEARCH_REGEX = /(^\s*)\/saved\s*(.*)$/; const GIF_SEARCH_REGEX = /(^\s*)\/(gif|klipy)\s*(.*)$/;