Skip to content

Commit 8342656

Browse files
yantar92alphapapa
authored andcommitted
Fix: (org-ql-regexp-part-ts-repeaters) Habit repeaters with min/max
Closes #226.
1 parent 822bb77 commit 8342656

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

org-ql.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ regexps.")
153153

154154
(defvar org-ql-regexp-part-ts-repeaters
155155
;; Repeaters (not sure if the colon is necessary, but it's in the org.el one)
156-
(rx (repeat 1 2 (seq " " (repeat 1 2 (any "-+:.")) (1+ digit) (any "hdwmy"))))
156+
(rx (repeat 1 2 (seq " " (repeat 1 2 (any "-+:.")) (1+ digit) (any "hdwmy")
157+
(optional "/" (1+ digit) (any "hdwmy")))))
157158
"Matches the repeater part of an Org timestamp.
158159
Includes leading space character.")
159160

0 commit comments

Comments
 (0)