[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 6003637a4d 1/3: lisp/org.el (org-property-drawer-re
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 6003637a4d 1/3: lisp/org.el (org-property-drawer-re): Fix regexp |
Date: |
Thu, 7 Dec 2023 09:58:31 -0500 (EST) |
branch: externals/org
commit 6003637a4db3a559e84d7495d69e112e1fd3373d
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
lisp/org.el (org-property-drawer-re): Fix regexp
`org-property-re' demands whitespace after property name when the
value is present. Do the same for property drawer detection.
---
lisp/org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org.el b/lisp/org.el
index 2030f566e9..75661ebc86 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -626,7 +626,7 @@ Group 1 contains drawer's name or \"END\".")
;; Drawer begin line.
bol (0+ (in " \t")) ":PROPERTIES:" (0+ (in " \t")) "\n"
;; Node properties.
- (*? (0+ (in " \t")) ":" (+ (not (in " \t\n:"))) ":" (* nonl) "\n")
+ (*? (0+ (in " \t")) ":" (+ (not (in " \t\n"))) ":" (opt (1+ (in " \t")) (*
nonl)) "\n")
;; Drawer end line.
(0+ (in " \t")) ":END:" (0+ (in " \t")) eol)
"Matches an entire property drawer.")