🌈 搜索
📅  最后修改于: 2022-03-11 14:52:05.048000             🧑  作者: Mango
// Java 9+ long matches = matcher.results().count(); // Java 8- int count = 0; while (matcher.find()) { count++; }