Interface RegexPattern.CharacterSet
- All Superinterfaces:
RegexPattern
- All Known Implementing Classes:
RegexPattern.CharacterSet.AnyOf
,RegexPattern.CharacterSet.NoneOf
- Enclosing interface:
RegexPattern
public static sealed interface RegexPattern.CharacterSet
extends RegexPattern
permits RegexPattern.CharacterSet.AnyOf, RegexPattern.CharacterSet.NoneOf
Represents a custom character class, like
[a-z]
or [^0-9]
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
A positive character class, like[a-z]
.static final record
A negated character class, like[^a-z]
.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