diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-07 17:02:06 +0100 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-07 17:02:06 +0100 |
commit | 3d3b7109cfe85292cc790f8380cb2f2b3aa0821e (patch) | |
tree | 84b81f496a183b940b2832e41a1cbb0ed489a597 | |
parent | fec91b4495f142fcedae7bd759d364f5d3d8c034 (diff) |
message: Fix URL parsing to handle quote at end of URL
-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 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') |