From fc4f780770d4f903983b0ae04b47e180a461987a Mon Sep 17 00:00:00 2001 From: plugd Date: Mon, 12 Jul 2021 17:17:00 +0200 Subject: [PATCH] Improved URL regex. --- lurk.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lurk.el b/lurk.el index 9ef2fbb..05e7da3 100644 --- a/lurk.el +++ b/lurk.el @@ -552,8 +552,8 @@ portion of the source component of the message, as LURK doesn't use this.") (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) -- 2.20.1