Interface RegexPattern.Lookaround

All Superinterfaces:
RegexPattern
All Known Implementing Classes:
RegexPattern.Lookaround.Lookahead, RegexPattern.Lookaround.Lookbehind, RegexPattern.Lookaround.NegativeLookahead, RegexPattern.Lookaround.NegativeLookbehind
Enclosing interface:
RegexPattern

Represents a lookaround assertion: (?=...), (?!...), (?<=...), (?<!...).
  • Method Details

    • target

      RegexPattern target()
      Returns the AST node representing the pattern inside the lookaround.