import re


def match_str(find_exp, where):
    """find_exp regexp is present in buffer where"""
    for item in where:
        if re.search(find_exp, str(item)):
            return True
    return False