escapeReplacement

expect fun escapeReplacement(literal: String): String(source)

Since Kotlin

1.0
actual fun escapeReplacement(literal: String): String(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.

Since Kotlin

1.1
actual fun escapeReplacement(literal: String): String(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.

Since Kotlin

1.0
actual fun escapeReplacement(literal: String): String(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.

Since Kotlin

1.3
actual fun escapeReplacement(literal: String): String(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.

Since Kotlin

1.8
actual fun escapeReplacement(literal: String): String(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.

Since Kotlin

1.8