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
|
- [ ] Searching
|
||||||
- [ ] Creating (Rooms, Spaces, and DMs)
|
- [ ] Creating (Rooms, Spaces, and DMs)
|
||||||
- [x] Joining
|
- [x] Joining
|
||||||
|
- [ ] Parse vias
|
||||||
- [x] Using a text/uri/link
|
- [x] Using a text/uri/link
|
||||||
- [x] Plain text
|
- [x] Plain text
|
||||||
- [x] `matrix:` Uri
|
- [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
|
- [ ] From space
|
||||||
- [ ] Exploring
|
- [ ] Exploring
|
||||||
- [x] Leaving
|
- [x] Leaving
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ extension LinkToMention on String {
|
||||||
final trimmed = trim();
|
final trimmed = trim();
|
||||||
|
|
||||||
final matrixTo = RegExp(
|
final matrixTo = RegExp(
|
||||||
r"^https?://matrix\.to/#/([^/?#]+)",
|
r"^https?://matrix\.to/#/(.[^/?#]+)",
|
||||||
caseSensitive: false,
|
caseSensitive: false,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue