replaceAll
JAVA替换replaceAll方法报错:Illegal group reference
Exception in thread "main" java.lang.IllegalArgumentException: Illegal group reference at java.util.regex.Matcher.appendReplacement(Matcher.java:857) ......
使用 Collections中的replaceAll方法 替换list中的指定元素
* 以下实例演示了如何使用 Collections 类的 replaceAll() 来替换List中所有的指定元素: ``` import java.util.Arrays; import java.util.Collections; import java.util.List; public cl ......