minor update

This commit is contained in:
Miroslav Stampar 2011-12-22 12:21:30 +00:00
parent f622995a29
commit 8585107e3d

View File

@ -131,8 +131,8 @@ def __oneShotErrorUse(expression, field):
conf.hashDB.write(expression, retVal)
else:
check = "%s(?P<result>.*?)%s" % (kb.chars.start, kb.chars.stop)
retVal = extractRegexResult(check, retVal, re.DOTALL | re.IGNORECASE) or retVal
_ = "%s(?P<result>.*?)%s" % (kb.chars.start, kb.chars.stop)
retVal = extractRegexResult(_, retVal, re.DOTALL | re.IGNORECASE) or retVal
return safecharencode(retVal) if kb.safeCharEncode else retVal