mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(composer): keep emoji autocomplete open on tilde names (#3126)
This commit is contained in:
@@ -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*(.*)$/;
|
||||
|
||||
Reference in New Issue
Block a user