PatternFlag enum

Options for the regular expression of Matches and Email, such as matching without regard to case.

Jakarta's Pattern.Flag, limited to the options Dart's RegExp has.

Inheritance
Available extensions

Values

caseInsensitive → const PatternFlag

CASE_INSENSITIVE: letters match regardless of case.

multiline → const PatternFlag

MULTILINE: ^ and $ also match at line breaks.

dotall → const PatternFlag

DOTALL: . also matches line breaks.

unicodeCase → const PatternFlag

UNICODE_CASE: Unicode-aware matching (Dart's unicode: true).

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<PatternFlag>
A constant List of the values in this enum, in order of their declaration.