diff --git a/ts/quill/mentions/completion.tsx b/ts/quill/mentions/completion.tsx index a0c5e32c5..dd400a514 100644 --- a/ts/quill/mentions/completion.tsx +++ b/ts/quill/mentions/completion.tsx @@ -29,7 +29,7 @@ export type MentionCompletionOptions = { theme: ThemeType; }; -const MENTION_REGEX = /(?:^|\W)@([-+\p{L}\p{M}\p{N}]+)$/u; +const MENTION_REGEX = /(?:^|\W)@([-+\p{L}\p{M}\p{N}]*)$/u; export class MentionCompletion { results: ReadonlyArray;