emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 1e8081aeec 2/4: Revert "lisp/org.el (org-property-d


From: ELPA Syncer
Subject: [elpa] externals/org 1e8081aeec 2/4: Revert "lisp/org.el (org-property-drawer-re): Fix regexp"
Date: Sun, 10 Dec 2023 10:04:55 -0500 (EST)

branch: externals/org
commit 1e8081aeec59624d990dd80be7064e77a4063be0
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]