import re


def _match_title(pattern, issue):
    """
       :param pattern:
       :param issue:
       :return: [True] if issue contains the pattern

       >>> _match_text('aaa',{'title': 'aaa','body': "bbb"})

       >>> _match_text('aaa',{'title': 'bbb','body': "bbb"})

       """
    return re.search(pattern, issue['title'], re.IGNORECASE)