結果 : check if string contains regex pattern python