fix matrix.to link regex
This commit is contained in:
parent
0dfe713ebe
commit
6c0c66cae5
2 changed files with 3 additions and 2 deletions
|
|
@ -36,10 +36,11 @@ A simple and user-friendly Matrix client made with Flutter and the Matrix Dart S
|
|||
- [ ] Searching
|
||||
- [ ] Creating (Rooms, Spaces, and DMs)
|
||||
- [x] Joining
|
||||
- [ ] Parse vias
|
||||
- [x] Using a text/uri/link
|
||||
- [x] Plain text
|
||||
- [x] `matrix:` Uri
|
||||
- [ ] Matrix.to link: I just need to fix my regex, I should do this soon.
|
||||
- [x] Matrix.to link: I just need to fix my regex, I should do this soon.
|
||||
- [ ] From space
|
||||
- [ ] Exploring
|
||||
- [x] Leaving
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ extension LinkToMention on String {
|
|||
final trimmed = trim();
|
||||
|
||||
final matrixTo = RegExp(
|
||||
r"^https?://matrix\.to/#/([^/?#]+)",
|
||||
r"^https?://matrix\.to/#/(.[^/?#]+)",
|
||||
caseSensitive: false,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue