branch: elpa/fedi
commit aa02aabad18bfa4b8807e361690c95b09d24fee8
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
alnum for user regex
---
fedi.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fedi.el b/fedi.el
index 16fd37ee891..02fef686085 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)))))