fix comment

This commit is contained in:
Looly 2022-07-29 21:29:08 +08:00
parent 4123efcad9
commit 3608cbb20f

View File

@ -3722,7 +3722,6 @@ public class CharSequenceUtil {
/**
* 替换所有正则匹配的文本并使用自定义函数决定如何替换<br>
* replaceFun可以通过{@link Matcher}提取出匹配到的内容的不同部分然后经过重新处理组装变成新的内容放回原位
*
* <pre class="code">
* replace(this.content, "(\\d+)", parameters -&gt; "-" + parameters.group(1) + "-")
* // 结果为"ZZZaaabbbccc中文-1234-"