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: TResult matchExact<TResult>(T[], int, int, Func<TMatch, TResult>)- Declared in: RT.Generexes.GenerexBase<T, TMatch, TGenerex, TGenerexMatch>
Declarationprotected TResult matchExact<TResult>(
T[] input,
int mustStartAt,
int mustEndAt,
Func<TMatch, TResult> selector
) Summary
Returns a single match that starts and ends at the specified indexes within the input
array. Generic type parametersTResult |
Type of the result object associated with each match of the regular expression. |
ParametersT[] | input |
Input sequence to match the regular expression against. | int | mustStartAt |
Index within input at which the match must start. | int | mustEndAt |
Index within input at which the match must end. | Func<TMatch, TResult> | selector |
Delegate that transforms the match (if found) into a result object. |
Returns
The result object returned by selector if a match was found; default(TResult)
otherwise. |