RegExpOpt class

Helper class to accumulate RegExp options then to pass those as a user-defined parameter (a single object) to the method like CliOptList.toRegExpValue(...)

Constructors

RegExpOpt({bool caseSensitive = true, bool dotAll = false, bool multiLine = false, bool unicode = false})
Default constructor

Properties

caseSensitive bool
Option indicating case-sensitive search
getter/setter pair
dotAll bool
Option indicating whether to match any character by using '.' in the whole string or only until the nearest newline character (default)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
multiLine bool
Option indicating whether ^ and $ look for the start and the end of the whole string (default) or of every line
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unicode bool
Option indicating whether to search for the Unicode characters or not (this search would be slower)
getter/setter pair

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

Static Methods

fromString(String options) RegExpOpt
Create options from a string