Enum Class Regexp.Op

java.lang.Object
java.lang.Enum<Regexp.Op>
com.google.re2j.Regexp.Op
All Implemented Interfaces:
Serializable, Comparable<Regexp.Op>, Constable
Enclosing class:
Regexp

static enum Regexp.Op extends Enum<Regexp.Op>
  • Enum Constant Details

    • 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
  • Constructor Details

    • Op

      private Op()
  • Method Details

    • values

      public static Regexp.Op[] 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

      public static Regexp.Op valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isPseudo

      boolean isPseudo()