import re


def _db_regex_func(expr, item):
    """
    REGEXP search function for SQLite.

    :param expr:
    :type expr: str
    :param item:
    :type item:
    :return: True if a match is found.
    :rtype: bool
    """
    reg = re.compile(expr, re.I)
    return reg.search(item) is not None