class RegexSearcher : CharSequenceContains.Searcher<NoOpSearchBehaviour, Regex>
(source)
Represents a Searcher which evaluates the matches of a given regular expression on the input of the search.
It performs a non-disjoint search, meaning searching 'aa?' in 'aaaa' has 4 hits.
RegexSearcher()
Represents a Searcher which evaluates the matches of a given regular expression on the input of the search. |
fun search(searchIn: CharSequence, searchFor: Regex): Int
Searches in the given searchIn for the given searchFor, using its toString implementation, and returns the number of occurrences. |