Enum Class RE.F.Flag
- All Implemented Interfaces:
Serializable, Comparable<RE.F.Flag>, Constable
- Enclosing interface:
RE.F
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMatch case insensitive, seePattern.CASE_INSENSITIVEIgnore comments, seePattern.COMMENTSThe any ('.') matcher also matches the cr and lf, it normally doesn't.The `$` and `^` normally match the begin and end of the input.Use the Unicode rules to case fold, seePattern.UNICODE_CASEOnly line separator recognized is \n. -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
CASE_INSENSITIVE
Match case insensitive, seePattern.CASE_INSENSITIVE -
COMMENTS
Ignore comments, seePattern.COMMENTS -
DOTALL
The any ('.') matcher also matches the cr and lf, it normally doesn't. -
MULTILINE
The `$` and `^` normally match the begin and end of the input. In multiline mode they the beginning and ending of a line. SeePattern.MULTILINE -
UNICODE_CASE
Use the Unicode rules to case fold, seePattern.UNICODE_CASE -
UNICODE_CHARACTER_CLASS
-
UNIX_LINES
Only line separator recognized is \n. SeePattern.UNIX_LINES
-
-
Field Details
-
flag
public final char flagThe char that represents this flag. For example 'i' is thePattern.CASE_INSENSITIVE. -
option
public final int optionThe Pattern option
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-