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> CreateRecursiveGenerex<T>(this T[], Func<Generex<T>, Generex<T>>)Declarationpublic static Generex<T> CreateRecursiveGenerex<T>(
this T[] input,
Func<Generex<T>, Generex<T>> generator
) Summary
Generates a recursive regular expression, i.e. one that can contain itself, allowing the matching of
arbitrarily nested expressions. Generic type parametersT |
Type of the objects in the collection against which the regular expression will be matched. |
Parametersthis T[] | input |
The value of this parameter is ignored, but can be used for type inference to enable matching of collections
of anonymous types. | Func<Generex<T>, Generex<T>> | generator |
A function that generates the regular expression from an object that recursively represents the result. |
See also |