mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 21:07:54 +00:00
Fix property drawer regexp
* lisp/org.el (org-property-drawer-re): Make sure regexp doesn't expand past other drawers.
This commit is contained in:
parent
b0f6c3c251
commit
a2662dc365
|
@ -492,7 +492,7 @@ Group 1 contains drawer's name or \"END\".")
|
|||
|
||||
(defconst org-property-drawer-re
|
||||
(concat "^[ \t]*:PROPERTIES:[ \t]*\n"
|
||||
"\\(?:[ \t]*:\\S-+:\\(?: .*\\)?[ \t]*\n\\)*"
|
||||
"\\(?:[ \t]*:\\S-+:\\(?: .*\\)?[ \t]*\n\\)*?"
|
||||
"[ \t]*:END:[ \t]*$")
|
||||
"Matches an entire property drawer.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue