src/Regex.php
public function split(Text $text): array {
    return $text->fromArray(preg_split($this->raw, (string)$text));
  }
public function split(Text $text): array {
    return $text->fromArray(preg_split($this->raw, (string)$text));
  }
Splits a given Text object based on this regular expression

@param  Text  $text  The text to split

@return  Text[]  An array of new Text objects based on the given Text, split by this regular expression