Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

chouser gets involved

Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  • Loading branch information...
commit 07fc5303c932d9d509d81d44e1a25bd244ceb7dd 1 parent 723991c
David Liebke and Stuart Halloway authored stuarthalloway committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.