def get_row_type(row_class_list, text):
    """Determine row type from text."""
    for index in range(len(row_class_list)):
        if text.find(row_class_list[index].ident_text) != -1:
            return index
    return -1