Patch related to the #1655

This commit is contained in:
Miroslav Stampar 2016-01-10 22:59:40 +01:00
parent 6b40e0aa8c
commit 8b01996adf

View File

@ -95,7 +95,7 @@ def _oneShotErrorUse(expression, field=None, chunkTest=False):
try: try:
while True: while True:
check = "%s(?P<result>.*?)%s" % (kb.chars.start, kb.chars.stop) check = "%s(?P<result>.*?)%s" % (kb.chars.start, kb.chars.stop)
trimcheck = "%s(?P<result>[^<]*)" % (kb.chars.start) trimcheck = r"%s(?P<result>[^<\n]*)" % (kb.chars.start)
if field: if field:
nulledCastedField = agent.nullAndCastField(field) nulledCastedField = agent.nullAndCastField(field)