fixing findString()
This commit is contained in:
parent
cce4cbc1e1
commit
d139384dce
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import re
|
||||||
|
|
||||||
def findRegexp(string, regexp):
|
def findRegexp(string, regexp):
|
||||||
result = None
|
result = None
|
||||||
regexp = re.compile(regexp)
|
regexp = re.compile(regexp, re.DOTALL)
|
||||||
match = regexp.search(string)
|
match = regexp.search(string)
|
||||||
if match:
|
if match:
|
||||||
result = match.group(1)
|
result = match.group(1)
|
||||||
|
|
Loading…
Reference in a new issue