ParserOptions class
A class that configures how a regular expressions are treated.
- Annotations
Constructors
- ParserOptions({bool multiLine = false, bool caseSensitive = true, bool unicode = false, bool dotAll = false})
-
Creates a ParserOptions that configures how regular expressions
are treated.
const
Properties
- caseSensitive → bool
-
If this is disabled, then case is ignored.
final
- dotAll → bool
-
If this is enabled, then the
.
pattern will match all characters, including line terminators.final - hashCode → int
-
The hash code for this object.
read-onlyoverride
- multiLine → bool
-
If this is enabled, then
^
and$
will match the beginning and end of a line, in addition to matching beginning and end of input, respectively.final - runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- unicode → bool
-
If this is enabled, then the pattern is treated as a Unicode
pattern as described by the ECMAScript standard.
final
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.
override