抛出这个异常,java.util.regex.PatternSyntaxException
异常的代码是这个: String Jstr = (((value.replaceAll(", ", "\",\"")) .replaceAll("=", "\":\"")).replace("{", "{\"")) .replace("}", "\"}") .replaceAll("}\",\"{", "},{");
到底哪儿错了啊。。。
抛出这个异常,java.util.regex.PatternSyntaxException
异常的代码是这个: String Jstr = (((value.replaceAll(", ", "\",\"")) .replaceAll("=", "\":\"")).replace("{", "{\"")) .replace("}", "\"}") .replaceAll("}\",\"{", "},{");
到底哪儿错了啊。。。
Set stopWordsSet = SegmentWordsResult.getStopWordsSet();
for(String stop : stopWordsSet){
if(str.contains(stop))
// System.out.println("true: "+stop);
str = str.replaceAll(......
答案就在这里:java.util.regex.PatternSyntaxException
----------------------Hi,地球人,我是问答机器人小S,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?