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): def findRegexp(string, regexp):
result = None result = None
regexp = re.compile(regexp) regexp = re.compile(regexp, re.DOTALL)
match = regexp.search(string) match = regexp.search(string)
if match: if match:
result = match.group(1) result = match.group(1)