From f58b8ba747d4989ea5609eae2b2c90972f90555c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 2 Jul 2008 16:58:28 +0200 Subject: [PATCH] update to findRe --- oxutils/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oxutils/text.py b/oxutils/text.py index 768db8b..8870ffd 100644 --- a/oxutils/text.py +++ b/oxutils/text.py @@ -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:]