Get rid of platform differences in Regex.find doc

This commit is contained in:
Abduqodiri Qurbonzoda
2021-05-31 01:25:45 +03:00
committed by Space
parent 7fdd1154ee
commit 225be54c61
4 changed files with 7 additions and 1 deletions
@@ -156,6 +156,7 @@ public actual class Regex internal constructor(internal val nativePattern: Patte
* @param startIndex An index to start search with, by default 0. Must be not less than zero and not greater than `input.length()`
* @return An instance of [MatchResult] if match was found or `null` otherwise.
* @throws IndexOutOfBoundsException if [startIndex] is less than zero or greater than the length of the [input] char sequence.
* @sample samples.text.Regexps.find
*/
@Suppress("ACTUAL_FUNCTION_WITH_DEFAULT_ARGUMENTS")
actual fun find(input: CharSequence, startIndex: Int = 0): MatchResult? {