regex

Finishes the specification of the sophisticated to contain expectation where the given regular expression pattern is expected to have a match, using a non-disjoint search.

Delegates to the regexPatterns(pattern).

Return

an Expect for the subject of this expectation.

Parameters

pattern

The pattern which is expected to have a match against the input of the search.


Finishes the specification of the sophisticated to contain expectation where the given regular expression pattern is expected to have a match (ignoring case), using a non-disjoint search.

Delegates to the regexPatterns(pattern).

Return

an Expect for the subject of this expectation.

Parameters

pattern

The patterns which is expected to have a match against the input of the search.


Finishes the specification of the sophisticated to contain expectation where the given regular expression pattern is expected to have at least one match (ignoring case), using a non-disjoint search.

Delegates to atLeast 1 regex pattern.

Return

an Expect for the subject of this expectation.

Parameters

pattern

The patterns which is expected to have a match against the input of the search.