aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/clojure/clojure/contrib/string.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/clojure/clojure/contrib/string.clj b/src/main/clojure/clojure/contrib/string.clj
index 094e0441..8a0ceeaa 100644
--- a/src/main/clojure/clojure/contrib/string.clj
+++ b/src/main/clojure/clojure/contrib/string.clj
@@ -179,7 +179,7 @@
(defn replace-first-re
"Replace first match of re in s."
- [#^Pattern re #^Replacement replacement #^String s]
+ [#^Pattern re #^String replacement #^String s]
(.replaceFirst (re-matcher re s) replacement))
(defn replace-first-by