String str="PLNZXCZXCZXC";
    Pattern pat = Pattern.compile("PLN");   
Matcher mat = pat.matcher(str);
if (mat.find()){
if (mat.group() == "PLN"){
System.out.print(mat.group());
}

}
为什么System.out.print(mat.group()) 不执行?mat.group我打印是PLN mat.group() == "PLN"就是flase
WHY?