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: TGenerexMatch MatchReverse<T, TMatch, TGenerex, TGenerexMatch>(this T[], GenerexBase<T, TMatch, TGenerex, TGenerexMatch>, int?)Declarationpublic static TGenerexMatch MatchReverse<T, TMatch, TGenerex, TGenerexMatch>(
this T[] input,
GenerexBase<T, TMatch, TGenerex, TGenerexMatch> generex,
int? endAt = null
) Summary
Determines whether the given input sequence matches this regular expression, and if so, returns information
about the first match found by matching the regular expression backwards (starting from the end of the input
sequence). Generic type parametersT |
Type of the objects in the collection. | TMatch |
See GenerexBase<T, TMatch, TGenerex, TGenerexMatch>. | TGenerex |
See GenerexBase<T, TMatch, TGenerex, TGenerexMatch>. | TGenerexMatch |
See GenerexBase<T, TMatch, TGenerex, TGenerexMatch>. |
Parametersthis T[] | input |
Input sequence to match the regular expression against. | GenerexBase<T, TMatch, TGenerex, TGenerexMatch> | generex |
The regular expression to match. | int? | endAt |
Optional index at which to end the search. Matches that end at or after this index are not included. |
Returns
An object describing a regular expression match in case of success; null if no match. |