forked from mirrors/org-mode
* org.el (org-set-regexps-and-options): Fix
* org.el (org-set-regexps-and-options): Allow `org-complex-heading-regexp-format' to match [/] and [%] cookies when they are both before and after the heading. Thanks to Nicolas Bercher for reporting this.
This commit is contained in:
parent
5b43ea1cd7
commit
6fab5bf04b
|
@ -5109,9 +5109,9 @@ Support for group tags is controlled by the option
|
|||
"\\(?: +\\(\\[#.\\]\\)\\)?"
|
||||
"\\(?: +"
|
||||
;; Stats cookies can be stuck to body.
|
||||
"\\(?:\\[[0-9%%/]+\\] *\\)?"
|
||||
"\\(?:\\[[0-9%%/]+\\] *\\)*"
|
||||
"\\(%s\\)"
|
||||
"\\(?: *\\[[0-9%%/]+\\]\\)?"
|
||||
"\\(?: *\\[[0-9%%/]+\\]\\)*"
|
||||
"\\)"
|
||||
(org-re "\\(?:[ \t]+\\(:[[:alnum:]_@#%%:]+:\\)\\)?")
|
||||
"[ \t]*$")
|
||||
|
|
Loading…
Reference in New Issue