MatchZeroOrMore class
Matcher that looks for existence of expression and returns a match if exists and includes any number of consecutive repetitions.
Example:
// Matches any character
MatchZeroOrMore(
CharacterClass.any(),
);
// results in .*
- Inheritance
-
- Object
- Quantifier
- MatchZeroOrMore
- Available Extensions
Constructors
- MatchZeroOrMore(RegExpComponent expression, [bool isLazy = false])
-
Attach
*
to the endexpression
, optionally adding?
ifisLazy
istrue
const
Properties
- expression → RegExpComponent
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLazy → bool
-
If
true
, returns a match right away without looking for more possible, longer matchesfinalinherited - 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited