Variable: markdown-regex-italic
markdown-regex-italic is a variable defined in markdown-mode.el.
Value
"\\(?:^\\|[^\\]\\)\\(?1:\\(?2:[*_]\\)\\(?3:[^ \n \\]\\|[^ \n *]\\(?:.\\|\n[^\n]\\)*?[^\\ ]\\)\\(?4:\\2\\)\\)"
Documentation
Regular expression for matching italic text.
The leading unnumbered matches the character before the opening asterisk or underscore, if any, ensuring that it is not a backslash escape. Group 1 matches the entire expression, including delimiters. Groups 2 and 4 matches the opening and closing delimiters. Group 3 matches the text inside the delimiters.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defconst markdown-regex-italic
"\\(?:^\\|[^\\]\\)\\(?1:\\(?2:[*_]\\)\\(?3:[^ \n\t\\]\\|[^ \n\t*]\\(?:.\\|\n[^\n]\\)*?[^\\ ]\\)\\(?4:\\2\\)\\)"
"Regular expression for matching italic text.
The leading unnumbered matches the character before the opening
asterisk or underscore, if any, ensuring that it is not a
backslash escape.
Group 1 matches the entire expression, including delimiters.
Groups 2 and 4 matches the opening and closing delimiters.
Group 3 matches the text inside the delimiters.")