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
@@ -25,6 +25,7 @@ expect class Regex {
*
* @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
*/
fun find(input: CharSequence, startIndex: Int = 0): MatchResult?