ReplaceRaw(input, replaceWithRaw, startAt, maxReplace)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Method: TOtherGenerex ThenRaw<TOtherGenerex, TOtherResult, TOtherGenerexMatch>(Func<TResult, GenerexWithResultBase<T, TOtherResult, TOtherGenerex, TOtherGenerexMatch>>)Declarationpublic TOtherGenerex ThenRaw<TOtherGenerex, TOtherResult, TOtherGenerexMatch>(
Func<TResult, GenerexWithResultBase<T, TOtherResult, 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 result of the match, and then matches the new
regular expression. This regular expression’s result object is replaced with the new one’s. Generic type parametersTOtherGenerex |
Type of the regular expression generated by the selector. | TOtherResult |
Type of the result object associated with the regular expression generated by the selector. | TOtherGenerexMatch |
Type of match object returned by matches of TOtherGenerex. |
ParametersFunc<TResult, GenerexWithResultBase<T, TOtherResult, TOtherGenerex, TOtherGenerexMatch>> | selector |
A delegate that creates a new regular expression from the result of 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>>). |