Explorar el Código

宁波镇海规则

zhaops hace 3 años
padre
commit
06ad461d76

+ 1 - 1
kernel/src/main/java/com/lantone/qc/kernel/util/RegexUtil.java

@@ -46,7 +46,7 @@ public class RegexUtil {
             }
             Pattern pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);
             Matcher matcher = pattern.matcher(content);
-            if (matcher.find()) {
+            while (matcher.find()) {
                 count++;
             }
             if (count >= num) {