Expect(stringerex, exceptionGenerator) Expect(stringerexes, exceptionGenerator) Expect(predicate, exceptionGenerator) Expect(element, exceptionGenerator) Expect(elements, exceptionGenerator) Expect(elements, exceptionGenerator) Expect(element, comparer, exceptionGenerator) Expect(elements, comparer, exceptionGenerator) Expect(elements, comparer, exceptionGenerator) Expect<>(stringerex, exceptionGenerator) Throw<>(exceptionGenerator)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static method: Stringerex Expect(Predicate<char>, Func<StringerexMatch, Exception>)Declarationpublic 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. |