Closed philjackson closed 9 years ago
The interop .replace will only replace the first instance of needle. Using clojure.string/replace will swap out all instances of needle and thus allow more than two chained classes.
Thanks for finding this. I may change it to just construct a RegEx directly like clojure.string/replace does.
clojure.string/replace
The interop .replace will only replace the first instance of needle. Using clojure.string/replace will swap out all instances of needle and thus allow more than two chained classes.