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