Hi, I'm using replace-str and replace-first-str (from clojure-contrib 1.2.0-beta1), and it seems that these do not have the same functionality contrary to their descriptions.The following code will work with the regular (replace-str), but (replace-first-str) returns an error:
user=> (replace-str "a" "f" "abcabc") "fbcfbc" user=> (replace-first-str "a" "f" "abcabc") java.lang.ClassCastException: java.lang.String cannot be cast to java.util.regex.Pattern (NO_SOURCE_FILE:0) Is this the expected behaviour? jan. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en