fixing findString()

This commit is contained in:
Rolux 2008-04-29 14:14:09 +02:00
parent cce4cbc1e1
commit d139384dce

View file

@ -6,7 +6,7 @@ import re
def findRegexp(string, regexp):
result = None
regexp = re.compile(regexp)
regexp = re.compile(regexp, re.DOTALL)
match = regexp.search(string)
if match:
result = match.group(1)