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 MatchExact<T, TMatch, TGenerex, TGenerexMatch>(this T[], GenerexBase<T, TMatch, TGenerex, TGenerexMatch>, int, int?)Declarationpublic static TGenerexMatch MatchExact<T, TMatch, TGenerex, TGenerexMatch>(
this T[] input,
GenerexBase<T, TMatch, TGenerex, TGenerexMatch> generex,
int mustStartAt = 0,
int? mustEndAt = null
) Summary
Determines whether the given input sequence matches this regular expression exactly, and if so, returns
information about the match. 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 | mustStartAt |
Index at which the match must start (default is 0). | int? | mustEndAt |
Index at which the match must end (default is the end of the input sequence). |
Returns
An object describing the regular expression match in case of success; null if no match. |