def rex_text(self, regexp, flags=0, byte=False, default=NULL):

        try:
            match = self.rex_search(regexp, flags=flags, byte=byte)
        except DataNotFound:
            if default is NULL:
                raise DataNotFound('Regexp not found')
            else:
                return default
        else:
            return normalize_space(decode_entities(match.group(1)))
Get most recent log value with given varname.
dataset/ETHPy150Open lorien/grab/grab/document.py/RegexpExtension.rex_text--crossover with--dataset/ETHPy150Open orcasgit/django-request-log/log/models.py/Log.get_log_value