original_string: function regexSplit ($regexp, $preg_flags = 0, $useKeys = false)
    {
      $this->setIterator (
        new RegexIterator ($this->getIterator (), $regexp, RegexIterator::SPLIT, $useKeys ? RegexIterator::USE_KEY : 0,
          $preg_flags)
      );
      return $this;
    }
code: function regexSplit ($regexp, $preg_flags = 0, $useKeys = false)
    {
      $this->setIterator (
        new RegexIterator ($this->getIterator (), $regexp, RegexIterator::SPLIT, $useKeys ? RegexIterator::USE_KEY : 0,
          $preg_flags)
      );
      return $this;
    }
code_tokens: function regexSplit ( $ regexp , $ preg_flags = 0 , $ useKeys = false ) { $ this -> setIterator ( new RegexIterator ( $ this -> getIterator ( ) , $ regexp , RegexIterator :: SPLIT , $ useKeys ? RegexIterator :: USE_KEY : 0 , $ preg_flags ) ) ; return $ this ; }
docstring: Splits each data item into arrays of strings using a regular expression.
  
  @param string $regexp     The regular expression to match.
  @param int    $preg_flags The regular expression flags. Can be a combination of: PREG_SPLIT_NO_EMPTY,
  PREG_SPLIT_DELIM_CAPTURE, PREG_SPLIT_OFFSET_CAPTURE.
  @param bool   $useKeys    When `true`, the iterated keys will be used instead of the corresponding values.
  @return $this
docstring_tokens: Splits each data item into arrays of strings using a regular expression .