Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: TGenerex Ors<T, TMatch, TGenerex, TGenerexMatch>(IEnumerable<GenerexBase<T, TMatch, TGenerex, TGenerexMatch>>)

Declaration

public static TGenerex Ors<T, TMatch, TGenerex, TGenerexMatch>(
    IEnumerable<GenerexBase<T, TMatch, TGenerex, TGenerexMatch>> generexes
)

Summary

Returns a regular expression that matches any of the specified regular expressions (cf. | in traditional regular expression syntax).

Generic type parameters

T Type of the objects in the collection against which the regular expression will be matched.
TMatch See GenerexBase<T, TMatch, TGenerex, TGenerexMatch>.
TGenerex
  • Must derive from: RT.Generexes.GenerexBase<T, TMatch, TGenerex, TGenerexMatch>.
See GenerexBase<T, TMatch, TGenerex, TGenerexMatch>.
TGenerexMatch See GenerexBase<T, TMatch, TGenerex, TGenerexMatch>.

Parameters

IEnumerable<GenerexBase<T, TMatch, TGenerex, TGenerexMatch>>generexes Collection of regular expressions, one of which is matched at a time.