def full_term_match(text, full_term, case_sensitive):
    if not case_sensitive:
        text = text.lower()
        full_term = full_term.lower()
    return 1 if text == full_term else 0
Tests rm with the -I option.
dataset/ETHPy150Open bigmlcom/python/bigml/predicate.py/full_term_match--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/tests/test_rm.py/TestRm.test_stdin_args