diff --git a/oxutils/text.py b/oxutils/text.py index cc028be..c36ffa9 100644 --- a/oxutils/text.py +++ b/oxutils/text.py @@ -4,12 +4,15 @@ import re -def findRegexp(string, regexp): +def findRe(string, regexp): result = re.compile(regexp, re.DOTALL).findall(string) if result: return result[0].strip() return None +def findRegexp(string, regexp): + return findRe(string, regexp) + def findString(string, string0='', string1 = ''): """Return the string between string0 and string1.