Replace(input, replaceWith, startAt, maxReplace) Replace(input, replaceWith, startAt, maxReplace) ThenExpect(exceptionGenerator, comparer, elements) ThenExpect(exceptionGenerator, comparer, elements) Throw(exceptionGenerator)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Method: IEnumerable<TGenerexMatch> Matches(T[], int)- Declared in: RT.Generexes.GenerexBase<T, TMatch, TGenerex, TGenerexMatch>
Declarationpublic IEnumerable<TGenerexMatch> Matches(
T[] input,
int startAt = 0
) Summary
Returns a sequence of non-overlapping regular expression matches, optionally starting the search at the
specified index. ParametersT[] | input |
Input sequence to match the regular expression against. | int | startAt |
Optional index at which to start the search. Matches that start before this index are not included. |
Remarks
The behaviour is analogous to Regex.Matches(string, string). The
documentation for that method claims that it returns “all occurrences of the regular expression”, but this is
false. |