Interface RE.C
- All Superinterfaces:
RE
- Enclosing interface:
RE
Represents a Character Class in a regular expression. This is an
additional type since character classes have some special rules.
-
Nested Class Summary
-
Method Summary
Methods inherited from interface RE
append, append, asFindPredicate, asLookingAtPredicate, asMatchPredicate, findAllIn, findIn, getGroupNames, getMatcher, isMatch, isSingle, lookingAt, matches, merge, pattern, toString
-
Method Details
-
and
Intersect two character classes. This uses the `invalid input: '&'invalid input: '&'` operator. I.e. `[%abc@]` and `\p{Alnum}` will intersect to only `abc` and will be represented as `[abcinvalid input: '&'invalid input: '&'\p{Alnum}`.- Parameters:
and- the second character class- Returns:
- a new character class
-
or
-
or
-
asSetContent
String asSetContent()Return just the content of the set without the square brackets. -
not
-