diff --git a/lisp/org.el b/lisp/org.el index e93a81210..01e0279c8 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -11337,7 +11337,7 @@ See also `org-scan-tags'." (pv (match-string 7 term)) (regexp (eq (string-to-char pv) ?{)) (strp (eq (string-to-char pv) ?\")) - (timep (string-match-p "^\"[[<].*[]>]\"$" pv)) + (timep (string-match-p "^\"[[<][0-9]+.*[]>]\"$" pv)) (po (org-op-to-function (match-string 6 term) (if timep 'time strp)))) (setq pv (if (or regexp strp) (substring pv 1 -1) pv))