Variable: markdown-regex-hr

markdown-regex-hr is a variable defined in markdown-mode.el.

Value

"^\\(\\(?:\\* ?\\)\\{3\\}[ *]*\\|\\(?:- ?\\)\\{3\\}[ -]*\\|\\(?:_ ?\\)\\{3\\}[ _]*\\)$"

Documentation

Regular expression for matching Markdown horizontal rules.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defconst markdown-regex-hr
  (rx line-start
      (group (or (and (repeat 3 (and "*" (? " "))) (* (any "* ")))
                 (and (repeat 3 (and "-" (? " "))) (* (any "- ")))
                 (and (repeat 3 (and "_" (? " "))) (* (any "_ ")))))
      line-end)
  "Regular expression for matching Markdown horizontal rules.")