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)

def _parse_col_positions(frame_style, header_line):
    """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)
    """

    separator = re.escape(FRAMES[frame_style.lower()]["VERTICAL"])

    if frame_style == "None":
        separator = r"[\s]{2}[^\s]"
        # Matches two whitespaces followed by a non-whitespace.
        # Our column headers are serated by 3 spaces by default.

    col_positions = []
    # Abuse regexp engine to anotate vertical-separator positions:
    re.sub(separator, lambda group: col_positions.append(group.start()), header_line)
    if frame_style == "None":
        col_positions.append(len(header_line) - 1)
    return col_positions