commit 633aca29737c327aacd8be79ba9fcdddcc00bd0a
parent d94cae9b0a29476a1877081492d645148ef8fb07
Author: Lou Woell <lou.woell@posteo.de>
Date:   Thu,  4 Sep 2025 18:10:12 +0200

[haredoc.el] Improve Regex

Diffstat:
Mharedoc.el | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/haredoc.el b/haredoc.el @@ -56,8 +56,8 @@ (buffer-substring-no-properties (region-beginning) (region-end))) (t (progn (thing-at-point-looking-at - "\\(\\(\\sw\\|\\s_\\)+::\\)*\\(\\sw\\|\\s_\\)+") - (string-replace "*" "" (match-string 0))))))) + "\\**\\(\\(\\(\\sw\\|\\s_\\)+::\\)*\\(\\sw\\|\\s_\\)+\\)") + (match-string 1)))))) ;; resolve identifier (or (hh/exec (list hare/helperbin "-p" (hare/root-dir) "resolve" id (buffer-file-name)))