7 m
= re
.compile(r
).search(s
)
11 m
= re
.compile(r
).search(s
)
12 if m
and m
.groups() and m
.groups()[0]:
16 m
= re
.compile(r
).search(s
)
21 m
= re
.compile(r
).findall(s
)
24 def replaceall(old
, new
, s
):
25 return re
.sub(old
, new
, s
)