Declaration
public TGenerex Then<TOtherGenerex, TOtherGenerexMatch>(
Func<TGenerexMatch, GenerexNoResultBase<T, TOtherGenerex, TOtherGenerexMatch>> selector
)
Summary
Returns a regular expression that matches this regular expression, then uses a specified
selector to create a new regular expression from the match, then matches the new regular expression
and retains the result object from the first match.
Generic type parameters
TOtherGenerex | This type parameter is not documented. |
TOtherGenerexMatch | This type parameter is not documented. |
Parameters
Func<TGenerexMatch, GenerexNoResultBase<T, TOtherGenerex, TOtherGenerexMatch>> | selector |
A delegate that creates a new regular expression from a match of the current regular expression. |
Returns
The resulting regular expression.
Remarks
Regular expressions created by this method cannot match backwards. The full set of affected methods is listed
at
GenerexBase<T, TMatch, TGenerex, TGenerexMatch>.Then<TOtherGenerex, TOtherMatch, TOtherGenerexMatch>(Func<TGenerexMatch, GenerexBase<T, TOtherMatch, TOtherGenerex, TOtherGenerexMatch>>).