From 35dc18a77d3b4b649e2b40d5ecc6cb1bfb85604b Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Mon, 7 Oct 2024 18:21:08 +0100 Subject: message: Add `@` to url regex --- src/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit