escapeReplacement
fun escapeReplacement(literal: String): String
(Common source) (JVM source) (JS source) (Native source)
Returns a literal replacement expression for the specified literal string. No characters of that string will have special meaning when it is used as a replacement string in Regex.replace function.