branch: externals/org
commit 1e8081aeec59624d990dd80be7064e77a4063be0
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>
Revert "lisp/org.el (org-property-drawer-re): Fix regexp"
This reverts commit 6003637a4db3a559e84d7495d69e112e1fd3373d.
The new accurate regexp is making the parser horribly slow. The
regexp should be fix some other way.
---
lisp/org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org.el b/lisp/org.el
index 75661ebc86..2030f566e9 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"))) ":" (opt (1+ (in " \t")) (*
nonl)) "\n")
+ (*? (0+ (in " \t")) ":" (+ (not (in " \t\n:"))) ":" (* nonl) "\n")
;; Drawer end line.
(0+ (in " \t")) ":END:" (0+ (in " \t")) eol)
"Matches an entire property drawer.")