Declaration
public static Stringerex Expect(
IEnumerable<char> elements,
IEqualityComparer<char> comparer,
Func<StringerexMatch, Exception> exceptionGenerator
)Summary
Attempts to match the specified sequence of characters using the specified character comparer and throws an
exception generated by the specified code if the regular expression does not match.