Enum Class RE.G.Type
- All Implemented Interfaces:
Serializable, Comparable<RE.G.Type>, Constable
- Enclosing interface:
RE.G
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMatches _if_ its members can match ahead of the current position.An atomic group is a group that, when the regex engine exits from it, automatically throws away all backtracking positions remembered by any tokens inside the group.The regular expression `a(bc|b)c` matches `abcc` and `abc`.Matches _if_ its members can match behind the current position.Basic most simple group.If this group is matched, the value of this group specifically can be retrieved by its group name.Groups but will not capture a match.Will not provide grouping parenthesis.NegatedWill match if its members do not match aheadWill match if its members do not match before -
Method Summary
-
Enum Constant Details
-
AHEAD
Matches _if_ its members can match ahead of the current position. It will not consume anything from the input. See https://www.regular-expressions.info/lookaround.html -
ATOMIC
An atomic group is a group that, when the regex engine exits from it, automatically throws away all backtracking positions remembered by any tokens inside the group.The regular expression `a(bc|b)c` matches `abcc` and `abc`. The regex `a(?>bc|b)c` (atomic group) matches `abcc` but not `abc`. -
BEHIND
Matches _if_ its members can match behind the current position. It will not consume anything from the input. See https://www.regular-expressions.info/lookaround.html -
CAPTURING
Basic most simple group. It is advised not to use these since they need to be counted and that is really tricky. Using named groups is much easier and recommended. -
NAMED
If this group is matched, the value of this group specifically can be retrieved by its group name. -
NONCAPTURING
Groups but will not capture a match. -
NONE
Will not provide grouping parenthesis. -
NOT_AHEAD
Will match if its members do not match ahead -
NOT_BEHIND
Will match if its members do not match before -
NOT
Negated
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-