Minor fix

This commit is contained in:
Miroslav Stampar 2012-12-28 23:43:47 +01:00
parent 648d91d790
commit 0e18fa9c5f

View File

@ -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<result>%s.*%s)" % (kb.chars.start, kb.chars.stop))
retVal = _("(?P<result>%s.*?%s)" % (kb.chars.start, kb.chars.stop))
if retVal is not None:
retVal = getUnicode(retVal, kb.pageEncoding)