From 0d0b5da805b7f77921731a45a39bef41c7a115bd Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 11 Oct 2023 11:23:48 +0200 Subject: toot-url-regex: \\> not \\b at end --- lisp/mastodon-toot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') 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 -- cgit v1.2.3