From: Mattias EngdegÄrd Date: Tue, 25 Feb 2020 10:57:21 +0000 (+0100) Subject: Fix mistake in regexp cleanup X-Git-Tag: emacs-28.0.90~7835 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=22524a6e39582d44c1365bad9a589618c2b0df27;p=emacs.git Fix mistake in regexp cleanup This error was introduced in 770f76f050. * lisp/org/org.el (org-ts-regexp-inactive): Match up to the first ']'. --- diff --git a/lisp/org/org.el b/lisp/org/org.el index 52b72817650..f1a7f61a9a1 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el @@ -568,7 +568,7 @@ Effort estimates given in this property need to have the format H:MM.") "Regular expression for fast time stamp matching.") (defconst org-ts-regexp-inactive - "\\[\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}[^\r\n>]*\\)\\]" + "\\[\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}[^]\r\n>]*\\)\\]" "Regular expression for fast inactive time stamp matching.") (defconst org-ts-regexp-both "[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}[^]\r\n>]*\\)[]>]"