update to findRe
This commit is contained in:
parent
afb62ead64
commit
f58b8ba747
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def findString(string, string0='', string1 = ''):
|
||||||
string1 = re.escape(string1)
|
string1 = re.escape(string1)
|
||||||
else:
|
else:
|
||||||
string1 = '$'
|
string1 = '$'
|
||||||
return findRegexp(string, string0 + '(.*?)' + string1)
|
return findRe(string, string0 + '(.*?)' + string1)
|
||||||
|
|
||||||
# Capitalizes the first letter of a string.
|
# Capitalizes the first letter of a string.
|
||||||
capfirst = lambda x: x and x[0].upper() + x[1:]
|
capfirst = lambda x: x and x[0].upper() + x[1:]
|
||||||
|
|
Loading…
Reference in a new issue