import re


def _check_separator(line, read_order):
    """Identify data separators, tabs or blanks
    """

    temp = line.strip()
    lread = len(read_order)
    terms1 = re.split('\t', temp)
#    terms2 = re.split(' ', temp)
    if len(terms1) == lread:
        use_tabs = True
        print('Information: Reading tab-separated table.')
    else:
        use_tabs = False
        print('Information: Reading white-space-separated table.')

    return use_tabs