Variable: kbd-key:modified-key-regexp

kbd-key:modified-key-regexp is a variable defined in hib-kbd.el.

Value

"\\(\\[?\\([ACHMS]-\\|kp-\\)+\\)[       \n
\f]*\\(\\(<?\\<add\\|backspace\\|backtab\\|begin\\|bs\\|clear\\|decimal\\|delete\\|del\\|divide\\|down\\|end\\|enter\\|esc\\|home\\|iso-lefttab\\|iso-righttab\\|left\\|insert\\|multiply\\|newline\\|next\\|prior\\|return\\|ret\\|right\\|rtn\\|subtract\\|tab\\|up\\|ADD\\|BACKSPACE\\|BACKTAB\\|BEGIN\\|BS\\|CLEAR\\|DECIMAL\\|DELETE\\|DEL\\|DIVIDE\\|DOWN\\|END\\|ENTER\\|ESC\\|HOME\\|ISO-LEFTTAB\\|ISO-RIGHTTAB\\|LEFT\\|INSERT\\|MULTIPLY\\|NEWLINE\\|NEXT\\|PRIOR\\|RETURN\\|RET\\|RIGHT\\|RTN\\|SUBTRACT\\|TAB\\|UP\\>>?\\|<?[fF][0-9][0-9]?>?\\|<[a-zA-Z0-9]+>\\|.\\)\\]?\\)"

Documentation

Regexp matching a single modified keyboard key within a human-readable string.

Group 1 matches to the set of modifier keys. Group 3 matches to the unmodified key.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hib-kbd.el
(defvar kbd-key:modified-key-regexp
  (concat "\\(\\[?\\([ACHMS]-\\|kp-\\)+\\)[ \t\n\r\f]*\\(\\(<?\\<" kbd-key:named-key-regexp "\\>>?"
	  "\\|<?[fF][0-9][0-9]?>?\\|<[a-zA-Z0-9]+>\\|.\\)\\]?\\)")
  "Regexp matching a single modified keyboard key within a human-readable string.
Group 1 matches to the set of modifier keys.  Group 3 matches to
the unmodified key.")