Wrap re-seq in doseqres.

This navigates to each match, not a sequence of matches.
This commit is contained in:
Michael Fogleman 2017-10-12 09:40:38 -07:00
parent 6e90ceadea
commit dc9e2205c3

View file

@ -627,7 +627,8 @@
regex*
[re]
(select* [this vals structure next-fn]
(next-fn vals (re-seq re structure)))
(doseqres NONE [s (re-seq re structure)]
(next-fn vals s)))
#_(transform* [this vals structure next-fn]
(next-fn (clojure.string/replace structure re vals))))