Java中将一个反斜杠转换成两个反斜杠

代码示例:

s = s.replaceAll("\\\\", "\\\\\\\\");
posted @ 2018-12-05 16:06  zifeiy  阅读(1052)  评论(0编辑  收藏  举报