Variable: markdown-regex-html-attr

markdown-regex-html-attr is a variable defined in markdown-mode.el.

Value

"\\(\\<[[:alpha:]:-]+\\>\\)\\(\\s-*\\(=\\)\\s-*\\(\".*?\"\\|'.*?'\\|[^'\">[:space:]]+\\)?\\)?"

Documentation

Regular expression for matching HTML attributes and values.

Group 1 matches the attribute name. Group 2 matches the following whitespace, equals sign, and value, if any. Group 3 matches the equals sign, if any. Group 4 matches single-, double-, or un-quoted attribute values.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defconst markdown-regex-html-attr
  "\\(\\<[[:alpha:]:-]+\\>\\)\\(\\s-*\\(=\\)\\s-*\\(\".*?\"\\|'.*?'\\|[^'\">[:space:]]+\\)?\\)?"
  "Regular expression for matching HTML attributes and values.
Group 1 matches the attribute name.
Group 2 matches the following whitespace, equals sign, and value, if any.
Group 3 matches the equals sign, if any.
Group 4 matches single-, double-, or un-quoted attribute values.")