Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: Stringerex Expect(Predicate<char>, Func<StringerexMatch, Exception>)

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.