結果 : python check if line matches regex