Declaration
public static Stringerex Expect(
Predicate<char> predicate,
Func<StringerexMatch, Exception> exceptionGenerator
)
Summary
Attempts to match an element with the specified predicate and throws an exception generated by the specified
code if the regular expression does not match.