Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

public static Stringerex<TResult> Expect<TResult>(
    Stringerex<TResult> stringerex,
    Func<StringerexMatch, Exception> exceptionGenerator
)

Summary

Attempts to match the specified regular expression and throws an exception generated by the specified code if the regular expression does not match.

Generic type parameters

TResultThis type parameter is not documented.