Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: TGenerex ThenRaw<TOtherGenerex, TOtherGenerexMatch>(Func<TResult, GenerexNoResultBase<T, TOtherGenerex, TOtherGenerexMatch>>)

Declaration

public TGenerex ThenRaw<TOtherGenerex, TOtherGenerexMatch>(
    Func<TResult, 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 result of the match, and then matches the new regular expression. This regular expression’s result object remains unaltered.

Generic type parameters

TOtherGenerex Type of the regular expression generated by the selector.
TOtherGenerexMatch Type of match object returned by matches of TOtherGenerex.

Parameters

Func<TResult, GenerexNoResultBase<T, 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>>).