diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-09-04 21:29:55 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-09-04 21:29:55 +0200 |
commit | a2662dc3657118ab01814125695c2ac09589114e (patch) | |
tree | ce79c55d5699a73f09d21d5b32d51098f6916e83 | |
parent | b0f6c3c251414f9fb857bb54a309baba7d4cb17c (diff) | |
download | org-mode-a2662dc3657118ab01814125695c2ac09589114e.tar.gz |
Fix property drawer regexp
* lisp/org.el (org-property-drawer-re): Make sure regexp doesn't expand
past other drawers.
-rwxr-xr-x | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 0b80e79..f3bb30a 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -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.") |