aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-09-20 15:09:27 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-09-20 15:09:27 +0200
commite2ba94796e3a4e0ae26673d1ddd8d47e9e2269f1 (patch)
treeb6690fe6fcb0ca6024e62649e5020e0480bb0fec
parent843b5e5f2cdd0de2613e1c50113ca490889e84ee (diff)
url-lookup regex: add a GTS match
-rw-r--r--lisp/mastodon.el1
1 files changed, 1 insertions, 0 deletions
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