Skip to content

Commit e49a0fd

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

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

102+
// TODO(#1967): ignore immediate "**" after '@' sign
102103
return RegExp(
103104
beforeAtSign
104105
+ r'@(_?)' // capture, so we can distinguish silent mentions

0 commit comments

Comments
 (0)