diff options
-rw-r--r-- | src/clj/clojure/string.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/string.clj b/src/clj/clojure/string.clj index e47bb4bf..47e0b02c 100644 --- a/src/clj/clojure/string.clj +++ b/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 |