aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-11 11:23:48 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-11 11:23:48 +0200
commit0d0b5da805b7f77921731a45a39bef41c7a115bd (patch)
tree4ac16387c7b30826357dc3705596aecd062f5149
parent5ab025352d6d55de670cae38d99926277586908d (diff)
toot-url-regex: \\> not \\b at end
-rw-r--r--lisp/mastodon-toot.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index f819a16..0d12166 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -244,7 +244,8 @@ send.")
(concat
"\\(?2:\\(news\\(post\\)?:\\|mailto:\\|file:\\|\\(ftp\\|https?\\|telnet\\|gopher\\|www\\|wais\\)://\\)" ; uri prefix
"[^ \n\t]*\\)" ; any old thing, that is, i.e. we allow invalid/unwise chars
- "\\b")) ; boundary
+ ;; "[ .,:;!?]\\b"))
+ "\\>")) ; boundary end
;;; MODE MAP