def to_disk_indices(value):
ret = []<EOL>p = re.compile(r'<STR_LIT>')<EOL>if value is not None:<EOL><INDENT>for line in value.split('<STR_LIT:\n>'):<EOL><INDENT>line = line.strip()<EOL>if len(line) == <NUM_LIT:0>:<EOL><INDENT>continue<EOL><DEDENT>matched = re.search(p, line)<EOL>if matched is None or len(matched.groups()) < <NUM_LIT:3>:<EOL><INDENT>continue<EOL><DEDENT>else:<EOL><INDENT>ret.append('<STR_LIT>'.format(*matched.groups()))<EOL><DEDENT><DEDENT><DEDENT>return ret<EOL>
Convert following input to disk indices

    Sample input:

    ```
    Disks:
    Bus 0 Enclosure 0 Disk 9
    Bus 1 Enclosure 0 Disk 12
    Bus 1 Enclosure 0 Disk 9
    Bus 0 Enclosure 0 Disk 4
    Bus 0 Enclosure 0 Disk 7
    ```

    :param value: disk list
    :return: disk indices in list