Match<>(input, generex, startAt) MatchExact<>(input, generex, mustStartAt, mustEndAt) New<>(comparer, elements) Not<>(comparer, elements)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: Generex<T> CreateGenerex<T>(this T[], Predicate<T>)Declarationpublic static Generex<T> CreateGenerex<T>(
this T[] input,
Predicate<T> predicate
)Summary
Instantiates a regular expression that matches a single element that satisfies the given predicate (cf.
[...] in traditional regular expression syntax). Generic type parameters| T |
Type of objects that the regular expression will later match against. |
Parameters| this T[] | input |
The value of this parameter is ignored, but can be used for type inference to enable matching of collections
of anonymous types. | | Predicate<T> | predicate |
The predicate that identifies matching elements. |
See also |