fixing findString()

This commit is contained in:
Rolux 2008-04-29 13:34:25 +02:00
parent 8582e1b064
commit a27d08f036

View file

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