<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def split_into_formatters(compound):
 """Split a possibly compound format string into segments. ['bold', 'underline', 'bright_blue', 'on_red'] ['red', 'no_italic', 'shadow', 'on_bright_cyan'] """

    merged_segs = []
    # These occur only as prefixes, so they can always be merged:
    mergeable_prefixes = ['no', 'on', 'bright', 'on_bright']
    for s in compound.split('_'):
        if merged_segs and merged_segs[-1] in mergeable_prefixes:
            merged_segs[-1] += '_' + s
        else:
            merged_segs.append(s)
    return merged_segs