結果 : java check if string has pattern