protected function _findEndOfQuotedString($quote, $start) {
        $nextEscape = strpos($this->_css, '\\', $start + 1);
        $end = strpos($this->_css, $quote, $start + 1);

        if ($end === false) {
            // Invalid string
            return false;
        }

        while ($nextEscape !== false && $nextEscape < $end) {
            if ($end === $nextEscape + 1) {
                $end = strpos($this->_css, $quote, $end + 1);
                if ($end === false) {
                    // Invalid string
                    return false;
                }
            }
            $nextEscape = strpos($this->_css, '\\', $nextEscape + 2);
        }

        return $end + 1;
    }