Enum Regexp.Op

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Regexp.Op>
    Enclosing class:
    Regexp

    static enum Regexp.Op
    extends java.lang.Enum<Regexp.Op>
    • 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
      • 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 Detail

      • Op

        private Op()
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • isPseudo

        boolean isPseudo()