ClojureDocs

导航

命名空间

re-quote-replacement

clojure.string

自 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.