human
Complete the below
def add_regexp_listener(dbapi_con, con_record):

    ''''Add REGEXP function to sqlite connections.'
    '''
 Give me a the Python program you requested?
assistant
#Here is the Python program you requested.
    def regexp(expr, item):
        reg = re.compile(expr)
        return (reg.search(unicode(item)) is not None)
    dbapi_con.create_function('regexp', 2, regexp)