ClojureDocs

Nav

Namespaces

Take the 2025 State of Clojure Survey! Help shape the future of Clojure. Take Survey →

re-quote-replacement

clojure.string

Available since 1.5
  • (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.