updated 姻亲bug修复

This commit is contained in:
mumuy 2022-03-16 08:43:26 +08:00
parent 858737774a
commit 2c1383cdd4
2 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -677,10 +677,10 @@
'{G0}':{
'xb':['侄'],
'h,xb':['叔侄','夫侄','外侄','婆家侄'],
'w,xb':['舅侄','妻侄','岳侄','丈人侄','内侄'],
'w,xb':['舅侄','妻侄','岳侄','岳家侄','丈人侄','内侄'],
'xs':['甥'],
'h,xs':['姑甥','夫甥','外甥','婆家甥'],
'w,xs':['姨甥','妻甥','岳甥','丈人甥','内甥'],
'h,xs':['姑甥','夫甥','外甥','婆家甥'],
'w,xs':['姨甥','妻甥','岳甥',,'岳家甥','丈人甥','内甥'],
},
'{M1W}':{
'f,xb,w':['叔眷'],
@ -1196,7 +1196,7 @@
function getSelectors(str){
str = str.replace(/[二|三|四|五|六|七|八|九|十]{1,2}/g,'x');
str = str.replace(/之/,'的').replace(/我的?(.+)/,'$1');
if(str.match(/[^娘婆亲]家的?/)){
if(str.match(/[^娘婆亲]家的?/)){
str = str.replace(/家的?/,'的');
}
var lists = str.split('的');