diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-09-20 15:09:27 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-09-20 15:09:27 +0200 |
commit | e2ba94796e3a4e0ae26673d1ddd8d47e9e2269f1 (patch) | |
tree | b6690fe6fcb0ca6024e62649e5020e0480bb0fec /lisp/mastodon.el | |
parent | 843b5e5f2cdd0de2613e1c50113ca490889e84ee (diff) |
url-lookup regex: add a GTS match
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r-- | lisp/mastodon.el | 1 |
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 |