Skip to content

Commit 07fc530

Browse files
David Liebke and Stuart Hallowaystuarthalloway
authored andcommitted
chouser gets involved
Signed-off-by: Stuart Halloway <[email protected]>
1 parent 723991c commit 07fc530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clj/clojure/string.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
(instance? Pattern match) (if (string? replacement)
4444
(.replaceAll (re-matcher ^Pattern match s) ^String replacement)
4545
(replace-by s match replacement))
46-
:default (throw (IllegalArgumentException. (str "Invalid match arg: " match)))))
46+
:else (throw (IllegalArgumentException. (str "Invalid match arg: " match)))))
4747

4848
(defn- replace-first-by
4949
"Replace first match of re in s with the result of

0 commit comments

Comments
 (0)