Skip to content

Commit 3ec900a

Browse files
committed
autocomplete [nfc]: Add a TODO(#1967) for ignoring starting "**" after "#"
1 parent 32750df commit 3ec900a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/model/autocomplete.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ final RegExp _mentionIntentRegex = (() {
112112
// full_name, find uses of UserProfile.NAME_INVALID_CHARS in zulip/zulip.)
113113
const fullNameAndEmailCharExclusions = r'\*`\\>"\p{Other}';
114114

115+
// TODO(#1967): ignore immediate "**" after '@' sign
115116
return RegExp(
116117
beforeAtSign
117118
+ r'@(_?)' // capture, so we can distinguish silent mentions

0 commit comments

Comments
 (0)