Enum RegexFeature

    • Enum Constant Detail

      • CONDITIONAL_SUBPATTERN

        public static final RegexFeature CONDITIONAL_SUBPATTERN
      • POSIX_CHARACTER_CLASS

        public static final RegexFeature POSIX_CHARACTER_CLASS
      • PYTHON_SYNTAX_GROUP_NAME

        public static final RegexFeature PYTHON_SYNTAX_GROUP_NAME
      • DOTNET_SYNTAX_GROUP_NAME

        public static final RegexFeature DOTNET_SYNTAX_GROUP_NAME
      • PERL_SYNTAX_GROUP_NAME

        public static final RegexFeature PERL_SYNTAX_GROUP_NAME
      • JAVA_SYNTAX_GROUP_NAME

        public static final RegexFeature JAVA_SYNTAX_GROUP_NAME
      • BACKSLASH_ESCAPING

        public static final RegexFeature BACKSLASH_ESCAPING
      • ATOMIC_GROUP

        public static final RegexFeature ATOMIC_GROUP
      • POSSESSIVE_QUANTIFIER

        public static final RegexFeature POSSESSIVE_QUANTIFIER
      • ESCAPED_CHARACTER_CLASS

        public static final RegexFeature ESCAPED_CHARACTER_CLASS
      • UNESCAPED_CURLY_BRACKET

        public static final RegexFeature UNESCAPED_CURLY_BRACKET
      • ONLY_UPPER_BOUND_QUANTIFIER

        public static final RegexFeature ONLY_UPPER_BOUND_QUANTIFIER
      • NESTED_CHARTER_CLASS

        public static final RegexFeature NESTED_CHARTER_CLASS
    • Method Detail

      • values

        public static RegexFeature[] 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 (RegexFeature c : RegexFeature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RegexFeature valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null