Variable: org-match-substring-with-braces-regexp
org-match-substring-with-braces-regexp is a variable defined in
org.el.gz.
Value
"\\(\\S-\\)\\([_^]\\)\\({\\([^{}]*?\\|\\(?:[^{}]*?{[^{}]*?}\\)+[^{}]*?\\|\\(?:[^{}]*?{\\(?:[^{}]*?{[^{}]*?}\\)+[^{}]*?}\\)+[^{}]*?\\)}\\)"
Documentation
The regular expression matching a sub- or superscript, forcing braces.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defconst org-match-substring-with-braces-regexp
(concat
"\\(\\S-\\)\\([_^]\\)"
"\\(" (org-create-multibrace-regexp "{" "}" org-match-sexp-depth) "\\)")
"The regular expression matching a sub- or superscript, forcing braces.")