diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-07 18:21:08 +0100 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-07 18:21:08 +0100 |
commit | 35dc18a77d3b4b649e2b40d5ecc6cb1bfb85604b (patch) | |
tree | 4ec7df0c9ae5c4c0a4c89e7c3829930d3cc9abcf | |
parent | 1af1f7d958fcec70817962563ce1608d985c9a44 (diff) |
message: Add `@` to url regex
-rw-r--r-- | src/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.py b/src/message.py index 41d1576..5f70b9e 100644 --- a/src/message.py +++ b/src/message.py @@ -20,7 +20,7 @@ from gi.repository import Adw, Gtk, GLib import re -re_url_exp = r"(\S+://[A-Za-z0-9_.\-~/]+)" +re_url_exp = r"(\S+://[A-Za-z0-9_.\-~/@]+)" re_url = re.compile(re_url_exp) @Gtk.Template(resource_path='/com/fryzekconcepts/weegtk/gtk/message.ui') |