Companion

expect object Companion(source)

Since Kotlin

1.0
actual object Companion(source)

Since Kotlin

1.1
actual object Companion(source)

Since Kotlin

1.0
actual object Companion(source)

Since Kotlin

1.3
actual object Companion(source)

Since Kotlin

1.8
actual object Companion(source)

Since Kotlin

1.8

Functions

Link copied to clipboard
expect fun escape(literal: String): String

Returns a regular expression pattern string that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.0
actual fun escape(literal: String): String

Returns a regular expression pattern string that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.1
actual fun escape(literal: String): String

Returns a regular expression pattern string that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.0
actual fun escape(literal: String): String

Returns a regular expression pattern string that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.3
actual fun escape(literal: String): String

Returns a regular expression pattern string that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.8
actual fun escape(literal: String): String

Returns a regular expression pattern string that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.8
Link copied to clipboard
expect fun escapeReplacement(literal: String): String

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

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

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

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

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

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
Link copied to clipboard
expect fun fromLiteral(literal: String): Regex

Returns a regular expression that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.0
actual fun fromLiteral(literal: String): Regex

Returns a regular expression that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.1
actual fun fromLiteral(literal: String): Regex

Returns a regular expression that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.0
actual fun fromLiteral(literal: String): Regex

Returns a regular expression that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.3
actual fun fromLiteral(literal: String): Regex

Returns a regular expression that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.8
actual fun fromLiteral(literal: String): Regex

Returns a regular expression that matches the specified literal string literally. No characters of that string will have special meaning when searching for an occurrence of the regular expression.

Since Kotlin 1.8