protected function storeVerbatimBlocks($value)
    {
        return preg_replace_callback(
            '/(?<!@)@verbatim(.*?)@endverbatim/s',
            function ($matches) {
                $this->verbatimBlocks[] = $matches[1];

                return $this->verbatimPlaceholder;
            },
            $value
        );
    }