diff --git a/src/net/cgrand/seqexp.clj b/src/net/cgrand/seqexp.clj index 7db8bb2..8df9305 100644 --- a/src/net/cgrand/seqexp.clj +++ b/src/net/cgrand/seqexp.clj @@ -131,7 +131,7 @@ "Matches its body min to max times (inclusive) separated by sep. Exists in greedy (repeat') and reluctant (repeat'?) variants." ([n sep e] - (repeat' n n e)) + (repeat' n n sep e)) ([min max sep e] (cond (pos? min) (cat e (repeat (dec min) (dec max) (cat sep e)))