Interface RegexPattern.Group
- All Superinterfaces:
RegexPattern
- All Known Implementing Classes:
RegexPattern.Group.Capturing
,RegexPattern.Group.Named
,RegexPattern.Group.NonCapturing
- Enclosing interface:
RegexPattern
public static sealed interface RegexPattern.Group
extends RegexPattern
permits RegexPattern.Group.Capturing, RegexPattern.Group.NonCapturing, RegexPattern.Group.Named
Represents a grouping construct in a regex.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
A capturing group, like(a)
.static final record
A named capturing group, like(?<name>a)
.static final record
A non-capturing group, like(?:a)
.Nested classes/interfaces inherited from interface com.google.common.labs.regex.RegexPattern
RegexPattern.Alternation, RegexPattern.Anchor, RegexPattern.AtLeast, RegexPattern.AtMost, RegexPattern.CharacterProperty, RegexPattern.CharacterSet, RegexPattern.CharRange, RegexPattern.CharSetElement, RegexPattern.Group, RegexPattern.Limited, RegexPattern.Literal, RegexPattern.LiteralChar, RegexPattern.Lookaround, RegexPattern.PosixCharClass, RegexPattern.PredefinedCharClass, RegexPattern.Quantified, RegexPattern.Quantifier, RegexPattern.Sequence, RegexPattern.UnicodeProperty
-
Method Summary
Methods inherited from interface com.google.common.labs.regex.RegexPattern
followedBy, notFollowedBy, notPrecededBy, precededBy