Improvements to url regexp.
authorplugd <plugd@thelambdalab.xyz>
Thu, 8 Jul 2021 18:12:04 +0000 (20:12 +0200)
committerplugd <plugd@thelambdalab.xyz>
Thu, 8 Jul 2021 18:12:04 +0000 (20:12 +0200)
lurk.el

diff --git a/lurk.el b/lurk.el
index 1043775..2f7e15a 100644 (file)
--- a/lurk.el
+++ b/lurk.el
@@ -543,8 +543,8 @@ portion of the source component of the message, as LURK doesn't use this.")
        (opt (group (: ":" (+ digit))))
        (opt (group (: "/"
                       (opt
        (opt (group (: ":" (+ digit))))
        (opt (group (: "/"
                       (opt
-                       (* (any alnum "-/.,#:%=&_"))
-                       (any alnum "-/#:%=&_")))))))
+                       (* (any alnum "-/.,#:%=&_?~"))
+                       (any alnum "-/#:%=&_~")))))))
   "Imperfect regex used to find URLs in plain text.")
 
 (defun lurk-click-url (button)
   "Imperfect regex used to find URLs in plain text.")
 
 (defun lurk-click-url (button)