emacs-diffs
[Top][All Lists]
Advanced

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

master 22524a6: Fix mistake in regexp cleanup


From: Mattias Engdegård
Subject: master 22524a6: Fix mistake in regexp cleanup
Date: Tue, 25 Feb 2020 06:10:10 -0500 (EST)

branch: master
commit 22524a6e39582d44c1365bad9a589618c2b0df27
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>

    Fix mistake in regexp cleanup
    
    This error was introduced in 770f76f050.
    
    * lisp/org/org.el (org-ts-regexp-inactive): Match up to the first ']'.
---
 lisp/org/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org/org.el b/lisp/org/org.el
index 52b7281..f1a7f61 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>]*\\)[]>]"



reply via email to

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