Remove deprecated JS Regex_0 and Regex_1 constructor functions

This commit is contained in:
Abduqodiri Qurbonzoda
2021-09-01 11:14:36 +03:00
committed by Space
parent 1008a88b43
commit 3fefed5131
3 changed files with 0 additions and 27 deletions
@@ -8,14 +8,6 @@ public val kotlin.CharSequence.indices: kotlin.ranges.IntRange { get; }
public val kotlin.CharSequence.lastIndex: kotlin.Int { get; }
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Provided for binary compatibility")
@kotlin.js.JsName(name = "Regex_sb3q2$")
public fun Regex_0(pattern: kotlin.String, option: kotlin.text.RegexOption): kotlin.text.Regex
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Provided for binary compatibility")
@kotlin.js.JsName(name = "Regex_61zpoe$")
public fun Regex_1(pattern: kotlin.String): kotlin.text.Regex
@kotlin.SinceKotlin(version = "1.2")
@kotlin.Deprecated(message = "Use CharArray.concatToString() instead", replaceWith = kotlin.ReplaceWith(expression = "chars.concatToString()", imports = {}))
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
-8
View File
@@ -8,14 +8,6 @@ public val kotlin.CharSequence.indices: kotlin.ranges.IntRange { get; }
public val kotlin.CharSequence.lastIndex: kotlin.Int { get; }
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Provided for binary compatibility")
@kotlin.js.JsName(name = "Regex_sb3q2$")
public fun Regex_0(pattern: kotlin.String, option: kotlin.text.RegexOption): kotlin.text.Regex
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Provided for binary compatibility")
@kotlin.js.JsName(name = "Regex_61zpoe$")
public fun Regex_1(pattern: kotlin.String): kotlin.text.Regex
@kotlin.SinceKotlin(version = "1.2")
@kotlin.Deprecated(message = "Use CharArray.concatToString() instead", replaceWith = kotlin.ReplaceWith(expression = "chars.concatToString()", imports = {}))
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@@ -273,17 +273,6 @@ public actual class Regex actual constructor(pattern: String, options: Set<Regex
}
}
/** Creates a regular expression from the specified [pattern] string and the specified single [option]. */
@Deprecated("Provided for binary compatibility", level = DeprecationLevel.HIDDEN)
@JsName("Regex_sb3q2\$")
public fun Regex_0(pattern: String, option: RegexOption): Regex = Regex(pattern, setOf(option))
/** Creates a regular expression from the specified [pattern] string and the default options. */
@Deprecated("Provided for binary compatibility", level = DeprecationLevel.HIDDEN)
@JsName("Regex_61zpoe\$")
public fun Regex_1(pattern: String): Regex = Regex(pattern, emptySet())
private fun RegExp.findNext(input: String, from: Int, nextPattern: RegExp): MatchResult? {