function regexMap ($regexp, $replaceWith, $useKeys = false)
  {
    $this->setIterator (
      new RegexIterator ($this->getIterator (), $regexp, RegexIterator::REPLACE, $useKeys ? RegexIterator::USE_KEY : 0)
    );
    $this->it->replacement = $replaceWith;
    return $this;
  }