public enum RegexFlag extends Enum<RegexFlag>
Enum Constant and Description |
---|
ASCII |
DEFAULT |
DOTALL |
EXT_NEWLINE
EXT_NEWLINE(512): Extends line delimiters to include the following Unicode characters
- NEXT_LINE ('
')
- LINE_SEPARATOR ('
')
- PARAGRAPH_SEPARATOR ('
')
- CARRIAGE_RETURN ('\r')
- NEW_LINE ('\n')
|
MULTILINE |
Modifier and Type | Method and Description |
---|---|
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 DEFAULT
public static final RegexFlag MULTILINE
public static final RegexFlag DOTALL
public static final RegexFlag ASCII
public static final RegexFlag EXT_NEWLINE
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 nullCopyright © 2024. All rights reserved.