branch: elpa/fedi
commit cc72e9c71bf1c4fd8c48759f2aba531c324e9410
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    add group 2 to tag regex: tag sans #
---
 fedi-post.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/fedi-post.el b/fedi-post.el
index 4c59ec900fb..44ae5535e30 100644
--- a/fedi-post.el
+++ b/fedi-post.el
@@ -131,7 +131,9 @@ for forming a URL.")
 
 (defvar fedi-post-tag-regex
   (rx (| (any ?\( "\n" "\t" " ") bol)
-      (group-n 1 ?# (+ (any "A-Z" "a-z" "0-9")))
+      (group-n 1 ?#
+               (group-n 2
+                 (one-or-more (any "A-Z" "a-z" "0-9"))))
       (| "'" word-boundary)) ; boundary or possessive
   "Regex for a tag. Group 1 is for completion at point functions.")
 

Reply via email to