Navigation Menu

Skip to content

Commit

Permalink
chouser gets involved
Browse files Browse the repository at this point in the history
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  • Loading branch information
David Liebke and Stuart Halloway authored and stuarthalloway committed Jun 4, 2010
1 parent 723991c commit 07fc530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/clojure/string.clj
Expand Up @@ -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
Expand Down

0 comments on commit 07fc530

Please sign in to comment.