Revert "lisp/org.el (org-property-drawer-re): Fix regexp"

This reverts commit 6003637a4d.

The new accurate regexp is making the parser horribly slow.  The
regexp should be fix some other way.
This commit is contained in:
Ihor Radchenko 2023-12-10 15:59:23 +01:00
parent 5e809903d5
commit 1e8081aeec
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

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