Skip to content

Commit

Permalink
hydra.el (hydra--format): Extend key regex with ";:"
Browse files Browse the repository at this point in the history
Re #75
  • Loading branch information
abo-abo committed Mar 13, 2015
1 parent 9f9dcf9 commit 5e8c7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 5e8c7f2

Please sign in to comment.