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 /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/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.")