From e2ba94796e3a4e0ae26673d1ddd8d47e9e2269f1 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 20 Sep 2024 15:09:27 +0200 Subject: url-lookup regex: add a GTS match --- lisp/mastodon.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 2f2f637..3eff126 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -432,6 +432,7 @@ not, just browse the URL in the normal fashion." (string-match "^/c/[[:alnum:]_]+$" query) (string-match "^/post/[[:digit:]]+$" query) (string-match "^/comment/[[:digit:]]+$" query) ; lemmy + (string-match "^/@[^/]+/statuses/[[:alnum:]]" query) ; GTS (string-match "^/user[s]?/[[:alnum:]_]+/statuses/[[:digit:]]+$" query) ; hometown (string-match "^/notes/[[:alnum:]]+$" query))))) ; misskey post -- cgit v1.2.3