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