|
@@ -59,9 +59,10 @@ public class BEH0058 extends QCCatalogue {
|
|
|
String regex6 = ".*女数[\\d一两二三四五六七八九十].*";
|
|
|
String regex7 = ".*[\\d一两二三四五六七八九十]个女.*";
|
|
|
String regex8 = ".*[\\d一两二三四五六七八九十]个子.*";
|
|
|
+ String regex9 = ".*[\\d一两二三四五六七八九十]个男.*";
|
|
|
boolean flag=false;
|
|
|
if(maritalText.matches(regex1)||maritalText.matches(regex)||maritalText.matches(regex2)||maritalText.matches(regex3)||maritalText.matches(regex4)
|
|
|
- ||maritalText.matches(regex5)||maritalText.matches(regex6)||maritalText.matches(regex7)||maritalText.matches(regex8)){
|
|
|
+ ||maritalText.matches(regex5)||maritalText.matches(regex6)||maritalText.matches(regex7)||maritalText.matches(regex8)||maritalText.matches(regex9)){
|
|
|
flag=true;
|
|
|
}
|
|
|
regex = ".*\\d+-\\d+-\\d+-[1-9].*";
|