Package com.google.re2j
Enum Regexp.Op
- java.lang.Object
-
- java.lang.Enum<Regexp.Op>
-
- com.google.re2j.Regexp.Op
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTERNATEANY_CHARANY_CHAR_NOT_NLBEGIN_LINEBEGIN_TEXTCAPTURECHAR_CLASSCONCATEMPTY_MATCHEND_LINEEND_TEXTLEFT_PARENLITERALNO_MATCHNO_WORD_BOUNDARYPLUSQUESTREPEATSTARVERTICAL_BARWORD_BOUNDARY
-
Constructor Summary
Constructors Modifier Constructor Description privateOp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleanisPseudo()static Regexp.OpvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Regexp.Op[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_MATCH
public static final Regexp.Op NO_MATCH
-
EMPTY_MATCH
public static final Regexp.Op EMPTY_MATCH
-
LITERAL
public static final Regexp.Op LITERAL
-
CHAR_CLASS
public static final Regexp.Op CHAR_CLASS
-
ANY_CHAR_NOT_NL
public static final Regexp.Op ANY_CHAR_NOT_NL
-
ANY_CHAR
public static final Regexp.Op ANY_CHAR
-
BEGIN_LINE
public static final Regexp.Op BEGIN_LINE
-
END_LINE
public static final Regexp.Op END_LINE
-
BEGIN_TEXT
public static final Regexp.Op BEGIN_TEXT
-
END_TEXT
public static final Regexp.Op END_TEXT
-
WORD_BOUNDARY
public static final Regexp.Op WORD_BOUNDARY
-
NO_WORD_BOUNDARY
public static final Regexp.Op NO_WORD_BOUNDARY
-
CAPTURE
public static final Regexp.Op CAPTURE
-
STAR
public static final Regexp.Op STAR
-
PLUS
public static final Regexp.Op PLUS
-
QUEST
public static final Regexp.Op QUEST
-
REPEAT
public static final Regexp.Op REPEAT
-
CONCAT
public static final Regexp.Op CONCAT
-
ALTERNATE
public static final Regexp.Op ALTERNATE
-
LEFT_PAREN
public static final Regexp.Op LEFT_PAREN
-
VERTICAL_BAR
public static final Regexp.Op VERTICAL_BAR
-
-
Method Detail
-
values
public static Regexp.Op[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Regexp.Op c : Regexp.Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Regexp.Op valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isPseudo
boolean isPseudo()
-
-