$RegExpMatch class

Implemented types

Constructors

$RegExpMatch.wrap(RegExpMatch $value)
Wrap a RegExpMatch in a $RegExpMatch

Properties

$reified RegExpMatch
Fully reify the underlying value so it can be used in a Dart context. For example, recursively transform collections into their underlying $values.
no setteroverride
$value RegExpMatch
The backing Dart value of this $Value
final
end int
The index in the string after the last character of the match.
no setteroverride
groupCount int
Returns the number of captured groups in the match.
no setteroverride
groupNames Iterable<String>
The names of the named capture groups of pattern.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
input String
The string on which this match was computed.
no setteroverride
pattern RegExp
The pattern used to search in input.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
The index in the string where the match starts.
no setteroverride

Methods

$getProperty(Runtime runtime, String identifier) $Value?
Get a property by identifier on this instance
override
$getRuntimeType(Runtime runtime) int
override
$setProperty(Runtime runtime, String identifier, $Value value) → void
Set a property by identifier on this instance to value
override
group(int group) String?
The string matched by the given group.
override
groups(List<int> groupIndices) List<String?>
A list of the groups with the given indices.
override
namedGroup(String name) String?
The string captured by the named capture group name.
override
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
operator [](int group) String?
The string matched by the given group.
override

Constants

$declaration → const BridgeClassDef
Compile-time bridge declaration of RegExp
$type → const BridgeTypeRef
Compile-time type reference to RegExpMatch