One scanner match. Offsets are UTF-16 code unit indices into the line.
A group that did not take part in the match reports -1.
Properties
- end → int
-
Where the match ends, exclusive.
no setter
- groupCount → int
-
Number of capture groups in the matched pattern, excluding group 0.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- patternIndex → int
-
Which of the scanner's patterns matched.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
Where the match starts.
no setter
Methods
-
captureEnd(
int group) → int -
Where
groupends, or-1. -
captureStart(
int group) → int -
Where
groupstarts, or-1. -
captureText(
int group) → String? -
Text of
group, ornullif it did not take part in the match. -
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