Searcher class abstract

Implementers

Constructors

Searcher()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchEngine SearchEngine
no setter

Methods

group(int groupNo) String?
Returns the group with groupNo of the last hit. If groupNo is 0 the full match is returned. Returns null if this group does not exist, the group otherwise.
groups() int
Returns the number of groups of the last hit.
hitStart() int?
Returns the column of the last hit found by this instance.
next(String line, [int start = 0]) int?
Looks for the next current pattern. The search starts at index start in line. Returns null if not found or the index of the hit.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previous(String line, [int? start]) int?
Looks for the previous current pattern. start: If null the whole line is inspected. Otherwise the search starts at this index Returns null if not found or the index of the hit.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited