org-element: Update regexps

* lisp/org-element.el (org-element--cache-sensitive-re): Update
  regexps.
This commit is contained in:
Nicolas Goaziou 2014-07-25 20:37:37 +02:00
parent 214ef7d461
commit ef3c574715
1 changed files with 2 additions and 2 deletions

View File

@ -5379,9 +5379,9 @@ the process stopped before finding the expected result."
;; Blocks
"#\\+\\(?:BEGIN[:_]\\|END\\(?:_\\|:?[ \t]*$\\)\\)" "\\|"
;; 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.
":\\S-+:[ \t]*$"
":\\(?:\\w\\|[-_]\\)+:[ \t]*$"
"\\)")
"Regexp matching a sensitive line, structure wise.
A sensitive line is a headline, inlinetask, block, drawer, or