Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: TGenerex lookNegative(bool, IEnumerable<TMatch>)

  • Declared in: RT.Generexes.GenerexBase<T, TMatch, TGenerex, TGenerexMatch>

Declaration

protected TGenerex lookNegative(
    bool behind,
    IEnumerable<TMatch> defaultMatch
)

Summary

Turns the current regular expression into a zero-width negative (look-ahead or look-behind) assertion.

Parameters

boolbehindtrue to create a look-behind assertion; false to create a look-ahead assertion.
IEnumerable<TMatch>defaultMatch The match sequence to return in case of a match.