branch: elpa/fedi
commit 5435cfb4249f746e763bc72421122847c2456894
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
alpha>alnum char class for user links regex
---
fedi.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fedi.el b/fedi.el
index 1d1e1cb0dd5..b7ef7ded027 100644
--- a/fedi.el
+++ b/fedi.el
@@ -330,7 +330,7 @@ NAME is not part of the symbol table, '?' is returned."
(string-match "^/profile/[[:alpha:]]+$" query)
(string-match "^/p/[[:alpha:]]+/[[:digit:]]+$" query)
(string-match "^/[[:alpha:]]+$" query)
- (string-match "^/u/[_[:alpha:]]+$" query)
+ (string-match "^/u/[_[:alnum:]]+$" query)
(string-match "^/c/[_[:alnum:]]+$" query)
(string-match "^/post/[[:digit:]]+$" query)
(string-match "^/comment/[[:digit:]]+$" query)))))