Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: Generex<T, TResult> Or(Func<GenerexMatch<T>, TResult>, IEnumerable<T>)

  • Declared in: RT.Generexes.Generex<T, TResult>

Declaration

public Generex<T, TResult> Or(
    Func<GenerexMatch<T>, TResult> selector,
    IEnumerable<T> elements
)

Summary

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

Parameters

Func<GenerexMatch<T>, TResult>selector A selector that returns the result object for the new regular expression based on the sequence matched by the elements.
IEnumerable<T>elements The sequence of elements to match.