KT-20357 - Add sample for Regex.findAll()
This commit is contained in:
@@ -53,6 +53,8 @@ expect class Regex {
|
||||
|
||||
/**
|
||||
* Returns a sequence of all occurrences of a regular expression within the [input] string, beginning at the specified [startIndex].
|
||||
*
|
||||
* @sample samples.text.Regexps.findAll
|
||||
*/
|
||||
fun findAll(input: CharSequence, startIndex: Int = 0): Sequence<MatchResult>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user