fix matrix.to link regex

This commit is contained in:
Henry Hiles 2026-02-08 11:56:16 -05:00
commit 6c0c66cae5
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -13,7 +13,7 @@ extension LinkToMention on String {
final trimmed = trim();
final matrixTo = RegExp(
r"^https?://matrix\.to/#/([^/?#]+)",
r"^https?://matrix\.to/#/(.[^/?#]+)",
caseSensitive: false,
);