expandBackTo abstract method
- Characters target
Expands the range to include the previous occurence of target
.
If there is an occurrence of target
in the characters preceding
the current range, the stat of the the range is moved to just before
the last such occurrence.
If there is no such occurrence of target
, the range is not modified.
Returns true
if there is an occurrence of target
and false
if not.
Notice that if target
is empty,
the result is true
even though the range is not modified.
Implementation
bool expandBackTo(Characters target);