mystring.replaceAll(“},{”,“}& {”);使用PatternSyntaxException失败

时间:2018-03-12 10:23:05

标签: java regex string

mystring.replaceAll("},{", "}&{");PatternSyntaxException

而失败
java.util.regex.PatternSyntaxException: Illegal repetition near index 1

0 个答案:

没有答案