public static String handle(String s) {
s = s.replaceAll("sonar.","");
int index = s.indexOf("@");
if(index!=-1){
s = s.substring(0,index);
}
s = s.replaceAll("org.eclipse.cdt.internal.core.dom.parser.cpp.","");
return s.replaceAll("[{}|\\\\\\\"<> ]", "\\\\$0");
}
dot图转义
最新推荐文章于 2024-04-30 17:28:01 发布