ClojureDocs

Nav

Namespaces

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

re-quote-replacement

clojure.string

Available since 1.5 (source)
  • (re-quote-replacement replacement)
Given a replacement string that you wish to be a literal
 replacement for a pattern match in replace or replace-first, do the
 necessary escaping of special characters in the replacement.