Skip to content
Browse files

chouser gets involved

Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  • Loading branch information...
1 parent 723991c commit 07fc5303c932d9d509d81d44e1a25bd244ceb7dd David Liebke and Stuart Halloway committed with stuarthalloway May 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/clojure/string.clj
View
2 src/clj/clojure/string.clj
@@ -43,7 +43,7 @@
(instance? Pattern match) (if (string? replacement)
(.replaceAll (re-matcher ^Pattern match s) ^String replacement)
(replace-by s match replacement))
- :default (throw (IllegalArgumentException. (str "Invalid match arg: " match)))))
+ :else (throw (IllegalArgumentException. (str "Invalid match arg: " match)))))
(defn- replace-first-by
"Replace first match of re in s with the result of

0 comments on commit 07fc530

Please sign in to comment.
Something went wrong with that request. Please try again.