Fix: (org-ql-regexp-part-ts-repeaters) Habit repeaters with min/max

Closes #226.
This commit is contained in:
Ihor Radchenko 2021-06-23 21:55:30 +08:00 committed by Adam Porter
parent 822bb774cd
commit 8342656b2d

View file

@ -153,7 +153,8 @@ regexps.")
(defvar org-ql-regexp-part-ts-repeaters (defvar org-ql-regexp-part-ts-repeaters
;; Repeaters (not sure if the colon is necessary, but it's in the org.el one) ;; 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. "Matches the repeater part of an Org timestamp.
Includes leading space character.") Includes leading space character.")