protected function _quoteRegex($string, $delimiter = null)
    {
        $string    = $this->_normalizeString($string);
        $delimiter = is_null($delimiter) ? null : $this->_normalizeString($delimiter);

        return preg_quote($string, $delimiter);
    }