zulip / zulip-flutter

Upcoming Zulip mobile apps for Android and iOS, using Flutter
Apache License 2.0
202 stars 195 forks source link

content [nfc]: Pull out parseUserMention, give regexp less to do #1086

Open gnprice opened 5 days ago

gnprice commented 5 days ago

This gives us more breathing room for making this handling more complicated, as we'll need for the new "channel-wildcard-mention" class (#1064) and for distinguishing different types of mentions (#646, #647).

Prompted by: https://github.com/zulip/zulip-flutter/pull/1073#discussion_r1857421404 (/cc @sm-sayedi, @PIG208).