Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

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

Summary

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

Parameters

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