Hi,

I found a small bug in Clojure Contrib 1.2.0.

To reproduce:
(require '[clojure.contrib.string :as s])
(s/replace-str "a" "b" "aa")
; "bb" as expected

(s/replace-first-str "a" "b" "aa")
; java.lang.ClassCastException: java.lang.String cannot be cast to
java.util.regex.Pattern

-- 
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

Reply via email to