Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

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

Summary

Returns a regular expression that matches either this regular expression or the specified sequence of elements (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.