From 0e18fa9c5f009f732f525d0f30e7bdcda0efd56b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 28 Dec 2012 23:43:47 +0100 Subject: [PATCH] Minor fix --- lib/techniques/union/use.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 1706b291c..d5eb74c4a 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -86,7 +86,7 @@ def _oneShotUnionUse(expression, unpack=True, limited=False): singleTimeWarnMessage(warnMsg) page = page.replace(kb.chars.stop[:-1], kb.chars.stop) - retVal = _("(?P%s.*%s)" % (kb.chars.start, kb.chars.stop)) + retVal = _("(?P%s.*?%s)" % (kb.chars.start, kb.chars.stop)) if retVal is not None: retVal = getUnicode(retVal, kb.pageEncoding)