@internationalizeDocstring
    def info(self, irc, msg, args, channel, optlist, regexp):
        db = self.getDb(channel)
        cursor = db.cursor()
        target = 'regexp'
        for (option, arg) in optlist:
            if option == 'id':
                target = 'id'
        sql = "SELECT * FROM triggers WHERE %s=?" % (target,)
        cursor.execute(sql, (regexp,))
        results = cursor.fetchall()
        if len(results) != 0:
            (id, regexp, added_by, added_at, usage_count,
                    action, locked) = results[0]
        else:
            irc.error(_('There is no such regexp trigger.'))
            return

        irc.reply(_("The regexp id is %d, regexp is \"%s\", and action is"
                    " \"%s\". It was added by user %s on %s, has been "
                    "triggered %d times, and is %s.") % (id,
                    regexp,
                    action,
                    added_by,
                    time.strftime(conf.supybot.reply.format.time(),
                                     time.localtime(int(added_at))),
                    usage_count,
                    locked and _("locked") or _("not locked"),))
Like `stream_encode_multipart` but returns a tuple in the form
dataset/ETHPy150Open ProgVal/Limnoria/plugins/MessageParser/plugin.py/MessageParser.info--crossover with--dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/test.py/encode_multipart