diff --git a/iwla.py b/iwla.py index 6f26656..75b34f1 100755 --- a/iwla.py +++ b/iwla.py @@ -818,12 +818,15 @@ class IWLA(object): for l in _file: # print "line " + l - groups = self.log_re.match(l) + sanitized = l.replace('<', '') + sanitized = sanitized.replace('>', '') + + groups = self.log_re.match(sanitized) if groups: self._newHit(groups.groupdict("")) else: - self.logger.warning("No match for %s" % (l)) + self.logger.warning("No match for %s" % (sanitized)) #break if self.analyse_started: