`

解决java中replace带特殊字符,如"\:)"报错问题

阅读更多
可使用String key=Pattern.quote(emo);方法转义 content=content.replaceAll(key,prop.getProperty(emo));
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics