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 Match<T, TMatch, TGenerex, TGenerexMatch>(this T[], GenerexBase<T, TMatch, TGenerex, TGenerexMatch>, int)Declarationpublic static TGenerexMatch Match<T, TMatch, TGenerex, TGenerexMatch>(
this T[] input,
GenerexBase<T, TMatch, TGenerex, TGenerexMatch> generex,
int startAt = 0
)Summary
Determines whether the given input sequence matches this regular expression, and if so, returns information
about the first match. Generic type parameters| T |
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>. |
Parameters| this T[] | input |
Input sequence to match the regular expression against. | | GenerexBase<T, TMatch, TGenerex, TGenerexMatch> | generex |
The regular expression to match. | | int | startAt |
Optional index at which to start the search. Matches that start before this index are not included. |
Returns
An object describing a regular expression match in case of success; null if no match. |