function popString(data, keepQuote = false) {
    if (!data) {
        return null;
    }

    try {
        // Backing up regexes
        let { formattedData, regexes } = backupRegexes(data);
        data = formattedData;

        let quote = null;
        let onString = false;
        let string = '';
        for (let i = 0; i < data.length; ++i) {
            let c = data[i];

            if (quote) {
                string += c;
            }

            if (onString && c == quote && data[i - 1] !== '\\') {
                // Restoring descriptions
                string = restoreRegexes(string, regexes);
                if (!keepQuote) {
                    return string.slice(0, -1);
                }
                return c + string;
            }

            if (!onString && /'|"|`/.test(c) && data[i - 1] !== '\\') {
                quote = c;
                onString = true;
            }
        }
        return null;
    } catch (err) {
        return null;
    }
}
Get the first string in a string.
@param {string} data content.