updated 修复亲家问题无法查询的bug
This commit is contained in:
parent
1d9ebeb3ba
commit
21d07161fd
2
dist/relationship.min.js
vendored
2
dist/relationship.min.js
vendored
File diff suppressed because one or more lines are too long
@ -2433,7 +2433,7 @@
|
|||||||
function getSelectors(str){
|
function getSelectors(str){
|
||||||
str = str.replace(/[二|三|四|五|六|七|八|九|十]{1,2}/g,'x');
|
str = str.replace(/[二|三|四|五|六|七|八|九|十]{1,2}/g,'x');
|
||||||
str = str.replace(/之/,'的').replace(/我的?(.+)/,'$1');
|
str = str.replace(/之/,'的').replace(/我的?(.+)/,'$1');
|
||||||
if(str.match(/[^娘婆]家的?/)){
|
if(str.match(/[^娘婆亲]家的?/)){
|
||||||
str = str.replace(/家的?/,'的');
|
str = str.replace(/家的?/,'的');
|
||||||
}
|
}
|
||||||
var lists = str.split('的');
|
var lists = str.split('的');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user