We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723991c commit 07fc530Copy full SHA for 07fc530
src/clj/clojure/string.clj
@@ -43,7 +43,7 @@
43
(instance? Pattern match) (if (string? replacement)
44
(.replaceAll (re-matcher ^Pattern match s) ^String replacement)
45
(replace-by s match replacement))
46
- :default (throw (IllegalArgumentException. (str "Invalid match arg: " match)))))
+ :else (throw (IllegalArgumentException. (str "Invalid match arg: " match)))))
47
48
(defn- replace-first-by
49
"Replace first match of re in s with the result of
0 commit comments