import re


def map_md_table_align_col(cell):
    """Map markdown table column alignments."""
    if re.match(r"^\s*:-+:\s*$", cell):
        return "center"
    elif re.match(r"^\s*-+:\s*$", cell):
        return "right"
    else:
        return "left"