public enum RegexFlag extends Enum<RegexFlag>
Java class for RegexFlag.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RegexFlag">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNIX_LINES"/>
<enumeration value="CASE_INSENSITIVE"/>
<enumeration value="COMMENTS"/>
<enumeration value="MULTILINE"/>
<enumeration value="LITERAL"/>
<enumeration value="DOTALL"/>
<enumeration value="UNICODE_CASE"/>
<enumeration value="CANON_EQ"/>
<enumeration value="UNICODE_CHARACTER_CLASS"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANON_EQ |
CASE_INSENSITIVE |
COMMENTS |
DOTALL |
LITERAL |
MULTILINE |
UNICODE_CASE |
UNICODE_CHARACTER_CLASS |
UNIX_LINES |
| Modifier and Type | Method and Description |
|---|---|
static RegexFlag |
fromValue(String v) |
String |
value() |
static RegexFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegexFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegexFlag UNIX_LINES
public static final RegexFlag CASE_INSENSITIVE
public static final RegexFlag COMMENTS
public static final RegexFlag MULTILINE
public static final RegexFlag LITERAL
public static final RegexFlag DOTALL
public static final RegexFlag UNICODE_CASE
public static final RegexFlag CANON_EQ
public static final RegexFlag UNICODE_CHARACTER_CLASS
public static RegexFlag[] values()
for (RegexFlag c : RegexFlag.values()) System.out.println(c);
public static RegexFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
Copyright © 2021. All rights reserved.