public static enum ReversePattern.Flag extends java.lang.Enum<ReversePattern.Flag>
| Enum Constant and Description |
|---|
CANON_EQ
Enables canonical equivalence.
|
CASE_INSENSITIVE
Enables case-insensitive matching.
|
COMMENTS
Permits whitespace and comments in pattern.
|
DOTALL
Enables dotall mode.
|
MULTILINE
Enables multiline mode.
|
UNICODE_CASE
Enables Unicode-aware case folding.
|
UNIX_LINES
Enables Unix lines mode.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static ReversePattern.Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReversePattern.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReversePattern.Flag UNIX_LINES
Pattern.UNIX_LINESpublic static final ReversePattern.Flag CASE_INSENSITIVE
Pattern.CASE_INSENSITIVEpublic static final ReversePattern.Flag COMMENTS
Pattern.COMMENTSpublic static final ReversePattern.Flag MULTILINE
Pattern.MULTILINEpublic static final ReversePattern.Flag DOTALL
Pattern.DOTALLpublic static final ReversePattern.Flag UNICODE_CASE
Pattern.UNICODE_CASEpublic static final ReversePattern.Flag CANON_EQ
Pattern.CANON_EQpublic static ReversePattern.Flag[] values()
for (ReversePattern.Flag c : ReversePattern.Flag.values()) System.out.println(c);
public static ReversePattern.Flag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
Pattern