diff --git a/runtime/src/main/kotlin/kotlin/text/Regex.kt b/runtime/src/main/kotlin/kotlin/text/Regex.kt index f437e9a9164..86179cb6a96 100644 --- a/runtime/src/main/kotlin/kotlin/text/Regex.kt +++ b/runtime/src/main/kotlin/kotlin/text/Regex.kt @@ -172,8 +172,7 @@ actual public class Regex internal constructor(internal val nativePattern: Patte } /** - * Returns a sequence of all occurrences of a regular expression within the [input] string, - * beginning at the specified [startIndex]. + * Returns a sequence of all occurrences of a regular expression within the [input] string, beginning at the specified [startIndex]. */ actual fun findAll(input: CharSequence, startIndex: Int): Sequence = generateSequence({ find(input, startIndex) }, MatchResult::next)