Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/message.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.py')
-rw-r--r--src/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.py b/src/message.py
index 27cf817..41d1576 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+://\S+)"
+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')