]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix mistake in regexp cleanup
authorMattias Engdegård <mattiase@acm.org>
Tue, 25 Feb 2020 10:57:21 +0000 (11:57 +0100)
committerMattias Engdegård <mattiase@acm.org>
Tue, 25 Feb 2020 11:04:40 +0000 (12:04 +0100)
This error was introduced in 770f76f050.

* lisp/org/org.el (org-ts-regexp-inactive): Match up to the first ']'.

lisp/org/org.el

index 52b72817650833efc7d433d943acc422ae4695e1..f1a7f61a9a1a6d500a5ba7d4ef5bf172c209b390 100644 (file)
@@ -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>]*\\)[]>]"