def splitForValues(forValues):
    if forValues is None:
        return None
    return [value.strip() for value in re.split(r',(?![^()]*\))', forValues) if value.strip()]
Test the _write_sheet_protection() method.
dataset/ETHPy150Open tabatkins/bikeshed/bikeshed/config.py/splitForValues--crossover with--dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/worksheet/test_write_sheet_protection.py/TestWriteSheetProtection.test_write_sheet_protection_11