From: plugd Date: Mon, 12 Jul 2021 15:17:00 +0000 (+0200) Subject: Improved URL regex. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=lurk.git;a=commitdiff_plain;h=fc4f780770d4f903983b0ae04b47e180a461987a Improved URL regex. --- 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)