From 63de503ee8b42812e9f7488c279e95ed24f5e7f8 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Thu, 16 Jun 2016 09:24:02 +0200 Subject: [PATCH] hydra.el (hydra-key-regex): Add "$" Fixes #203 --- hydra.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra.el b/hydra.el index 1ec80ea..9b81dd4 100644 --- a/hydra.el +++ b/hydra.el @@ -598,7 +598,7 @@ HEAD's binding is returned as a string wrapped with [] or {}." (defconst hydra-width-spec-regex " ?-?[0-9]*?" "Regex for the width spec in keys and %` quoted sexps.") -(defvar hydra-key-regex "\\[\\|]\\|[-[:alnum:] ~.,;:/|?<>={}*+#%@!&^↑↓←→⌫⌦⏎'`()\"]+?" +(defvar hydra-key-regex "\\[\\|]\\|[-[:alnum:] ~.,;:/|?<>={}*+#%@!&^↑↓←→⌫⌦⏎'`()\"$]+?" "Regex for the key quoted in the docstring.") (defun hydra--format (_name body docstring heads)