更新时间:2022-11-14 21:29:28
(类似问题:具有可变数量的组的正则表达式?)
这是不可能的。你***的选择是使用 ht
,然后使用
This is not possible. Your best alternative is to use h.t
, and use a
while (matcher.find()) {
...
... matcher.group(1); ...
...
}
功能 存在于.NET中,但如上所述,Java中没有对应物。
The feature does exist in .NET, but as mentioned above, there's no counterpart in Java.