From 8342656b2d9af4bb6af9daa0a8b037d3693bd940 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Wed, 23 Jun 2021 21:55:30 +0800 Subject: [PATCH] Fix: (org-ql-regexp-part-ts-repeaters) Habit repeaters with min/max Closes #226. --- org-ql.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org-ql.el b/org-ql.el index e179d07..193592a 100644 --- a/org-ql.el +++ b/org-ql.el @@ -153,7 +153,8 @@ regexps.") (defvar org-ql-regexp-part-ts-repeaters ;; Repeaters (not sure if the colon is necessary, but it's in the org.el one) - (rx (repeat 1 2 (seq " " (repeat 1 2 (any "-+:.")) (1+ digit) (any "hdwmy")))) + (rx (repeat 1 2 (seq " " (repeat 1 2 (any "-+:.")) (1+ digit) (any "hdwmy") + (optional "/" (1+ digit) (any "hdwmy"))))) "Matches the repeater part of an Org timestamp. Includes leading space character.")