Skip to content

Commit c638335

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

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
@@ -116,6 +116,7 @@ final RegExp _mentionIntentRegex = (() {
116116
// full_name, find uses of UserProfile.NAME_INVALID_CHARS in zulip/zulip.)
117117
const fullNameAndEmailCharExclusions = r'\*`\\>"\p{Other}';
118118

119+
// TODO(#1967): ignore immediate "**" after '@' sign
119120
return RegExp(
120121
beforeAtSign
121122
+ r'@(_?)' // capture, so we can distinguish silent mentions

0 commit comments

Comments
 (0)