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

    comment . in handle regex. they break if handle ends sentence.
---
 fedi-post.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fedi-post.el b/fedi-post.el
index 8f15dfcba51..fcd7f8a9979 100644
--- a/fedi-post.el
+++ b/fedi-post.el
@@ -119,7 +119,8 @@ face. no-label is optional.")
         (+ ; breaks groups with instance handles!
          ?@
          (group-n 2 ; = username only
-           (* (any ?- ?_ ?. "A-Z" "a-z" "0-9" )))
+           (* (any ?- ?_ ;?. ;; this . breaks word-boundary at end
+                   "A-Z" "a-z" "0-9" )))
          (? ?@
             (group-n 3 ; = optional domain
               (* (not (any "\n" "\t" " ")))))))

Reply via email to