doc / ch.tutteli.atrium.logic.creating.charsequence.contains.searchers.impl / IgnoringCaseRegexSearcher

IgnoringCaseRegexSearcher

class IgnoringCaseRegexSearcher : CharSequenceContains.Searcher<IgnoringCaseSearchBehaviour, String>

Represents a Searcher which implements the IgnoringCaseSearchBehaviour behaviour and evaluates the matches of a given regular expression on the input of the search.

Constructors

<init>

IgnoringCaseRegexSearcher()

Represents a Searcher which implements the IgnoringCaseSearchBehaviour behaviour and evaluates the matches of a given regular expression on the input of the search.

Functions

search

fun search(searchIn: CharSequence, searchFor: String): Int

Searches in the given searchIn for the given searchFor, using its toString implementation, and returns the number of occurrences.