public static enum Pattern.Flag extends Enum<Pattern.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 Pattern.Flag | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Pattern.Flag[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Pattern.Flag UNIX_LINES
Pattern.UNIX_LINESpublic static final Pattern.Flag CASE_INSENSITIVE
Pattern.CASE_INSENSITIVEpublic static final Pattern.Flag COMMENTS
Pattern.COMMENTSpublic static final Pattern.Flag MULTILINE
Pattern.MULTILINEpublic static final Pattern.Flag DOTALL
Pattern.DOTALLpublic static final Pattern.Flag UNICODE_CASE
Pattern.UNICODE_CASEpublic static final Pattern.Flag CANON_EQ
Pattern.CANON_EQpublic static Pattern.Flag[] values()
for (Pattern.Flag c : Pattern.Flag.values()) System.out.println(c);
public static Pattern.Flag 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 int getValue()
PatternCopyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.