mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
Simplify mention regex
This commit is contained in:
parent
edd78fc9c6
commit
6f33f50cdf
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ export const TagsPlugin = zeppelinGuildPlugin<TagsPluginType>()("tags", {
|
|||
return "";
|
||||
}
|
||||
|
||||
if (input.match(/^<(?:@(?:!|&)?|#)\d+>$/)) {
|
||||
if (input.match(/^<(?:@[!&]?|#)\d+>$/)) {
|
||||
return input;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue