且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

正则表达式替换为匹配的计数

更新时间:2022-01-01 00:00:32

Java正则表达式不支持对计数的引用匹配,所以这是不可能的。

Java regex does not support a reference to the count of the match, so it is impossible.