clojure/clojure — pull request #17 by yangsx (2012-03-04 14:35:32+00:00)
Title: Fix a bug: replace-first-by (and thus replace-first) returns nil

when it should return the original text.

The bug occurs only when the second argument of replace-first is a pattern and the third argument is a function.