public function getPreMatch()
    {
        if ($this->match) {
            return mb_substr($this->source, 0,
                ($this->head - mb_strlen($this->match)));
        } else {
            return null;
        }
    }