From 5e8c7f2288eada41f7fb3fa6e774ee45cdf626ac Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Fri, 13 Mar 2015 15:04:58 +0100 Subject: [PATCH] hydra.el (hydra--format): Extend key regex with ";:" Re #75 --- hydra.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra.el b/hydra.el index cba4696..f7b305c 100644 --- a/hydra.el +++ b/hydra.el @@ -473,7 +473,7 @@ The expressions can be auto-expanded according to NAME." offset) (while (setq start (string-match - "\\(?:%\\( ?-?[0-9]*s?\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\( ?-?[0-9]*\\)\\([a-z-~A-Z0-9/|?<>={}]+\\)_\\)" + "\\(?:%\\( ?-?[0-9]*s?\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\( ?-?[0-9]*\\)\\([a-z-~A-Z;:0-9/|?<>={}]+\\)_\\)" docstring start)) (cond ((eq ?_ (aref (match-string 0 docstring) 0)) (let* ((key (match-string 4 docstring))