org-element: Update regexps
* lisp/org-element.el (org-element--cache-sensitive-re): Update regexps.
This commit is contained in:
parent
214ef7d461
commit
ef3c574715
|
@ -5379,9 +5379,9 @@ the process stopped before finding the expected result."
|
||||||
;; Blocks
|
;; Blocks
|
||||||
"#\\+\\(?:BEGIN[:_]\\|END\\(?:_\\|:?[ \t]*$\\)\\)" "\\|"
|
"#\\+\\(?:BEGIN[:_]\\|END\\(?:_\\|:?[ \t]*$\\)\\)" "\\|"
|
||||||
;; LaTeX environments.
|
;; LaTeX environments.
|
||||||
"\\\\\\(?:begin{[A-Za-z0-9]+\\*?}\\|end{[A-Za-z0-9]+\\*?}[ \t]*$\\)" "\\|"
|
"\\\\\\(?:begin{[A-Za-z0-9*]+}\\|end{[A-Za-z0-9*]+}[ \t]*$\\)" "\\|"
|
||||||
;; Drawers.
|
;; Drawers.
|
||||||
":\\S-+:[ \t]*$"
|
":\\(?:\\w\\|[-_]\\)+:[ \t]*$"
|
||||||
"\\)")
|
"\\)")
|
||||||
"Regexp matching a sensitive line, structure wise.
|
"Regexp matching a sensitive line, structure wise.
|
||||||
A sensitive line is a headline, inlinetask, block, drawer, or
|
A sensitive line is a headline, inlinetask, block, drawer, or
|
||||||
|
|
Loading…
Reference in New Issue