public function replaceAll($name, $value, $valueRegex = null)
    {
        $this->arguments[] = '--replace-all';
        $this->arguments[] = $name;
        $this->arguments[] = $value;
        if ($valueRegex !== null) {
            $this->arguments[] = $valueRegex;
        }
        return $this;
    }