def _parse_col_positions(frame_style, header_line):
separator = re.escape(FRAMES[frame_style.lower()]["<STR_LIT>"])<EOL>if frame_style == "<STR_LIT:None>":<EOL><INDENT>separator = r"<STR_LIT>"<EOL><DEDENT>col_positions = []<EOL>re.sub(separator, lambda group: col_positions.append(group.start()), header_line)<EOL>if frame_style == "<STR_LIT:None>":<EOL><INDENT>col_positions.append(len(header_line) - <NUM_LIT:1>)<EOL><DEDENT>return col_positions<EOL>
Find the position for each column separator in the given line

    If frame_style is 'None', this won work
    for column names that _start_ with whitespace
    (which includes non-lefthand aligned column titles)