Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: Stringerex<TResult> Or(char, Func<StringerexMatch, TResult>, IEqualityComparer<char>)

Declaration

public Stringerex<TResult> Or(
    char element,
    Func<StringerexMatch, TResult> selector,
    IEqualityComparer<char> comparer
)

Summary

Returns a regular expression that matches either this regular expression or a single element using the specified equality comparer (cf. | in traditional regular expression syntax).

Parameters

charelement The element to match.
Func<StringerexMatch, TResult>selector A selector that returns the result object for the new regular expression based on the element matched.
IEqualityComparer<char>comparer An optional equality comparer to use against the element.