The Lambda Lab
/
projects
/
lurk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6382bd
)
Improved URL regex.
author
plugd
<plugd@thelambdalab.xyz>
Mon, 12 Jul 2021 15:17:00 +0000
(17:17 +0200)
committer
plugd
<plugd@thelambdalab.xyz>
Mon, 12 Jul 2021 15:17:00 +0000
(17:17 +0200)
lurk.el
patch
|
blob
|
history
diff --git
a/lurk.el
b/lurk.el
index
9ef2fbb
..
05e7da3
100644
(file)
--- 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)