update to findRe

This commit is contained in:
j 2008-07-02 16:58:28 +02:00
parent afb62ead64
commit f58b8ba747
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def findString(string, string0='', string1 = ''):
string1 = re.escape(string1)
else:
string1 = '$'
return findRegexp(string, string0 + '(.*?)' + string1)
return findRe(string, string0 + '(.*?)' + string1)
# Capitalizes the first letter of a string.
capfirst = lambda x: x and x[0].upper() + x[1:]