>>551
いや普通に戻り値チェックしてください…
match = re.search(pat, text)
if match:
. s = match.group(1)