updated 修复亲家问题无法查询的bug

This commit is contained in:
PASSER-BY 2022-02-23 21:42:11 +08:00
parent 1d9ebeb3ba
commit 21d07161fd
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -2433,7 +2433,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('的');