逆向选择的进一步优化
This commit is contained in:
parent
c968518fd6
commit
bd917c3865
@ -17,11 +17,19 @@
|
|||||||
exp:/(,[fhs]|([olx]b)),[ds](&[ol])?,m/g,
|
exp:/(,[fhs]|([olx]b)),[ds](&[ol])?,m/g,
|
||||||
str:'$1,w'
|
str:'$1,w'
|
||||||
},
|
},
|
||||||
{//不知道性别,女儿或儿子的妈妈是自己或妻子
|
{//不知道性别,子女的妈妈是自己或妻子
|
||||||
exp:/^,[ds],m/g,
|
exp:/^,[ds],m(.+)$/,
|
||||||
|
str:',$1#,w$1'
|
||||||
|
},
|
||||||
|
{//不知道性别,子女的妈妈是自己或妻子
|
||||||
|
exp:/^,[ds],m$/,
|
||||||
str:',#,w'
|
str:',#,w'
|
||||||
},
|
},
|
||||||
{//不知道性别,女儿或儿子的妈妈是自己或丈夫
|
{//不知道性别,子女的爸爸是自己或丈夫
|
||||||
|
exp:/^,[ds],f(.+)$/,
|
||||||
|
str:',$1#,h$1'
|
||||||
|
},
|
||||||
|
{//不知道性别,子女的爸爸是自己或丈夫
|
||||||
exp:/^,[ds],f/g,
|
exp:/^,[ds],f/g,
|
||||||
str:',#,h'
|
str:',#,h'
|
||||||
},
|
},
|
||||||
@ -481,4 +489,4 @@
|
|||||||
window.relationship = relationship;
|
window.relationship = relationship;
|
||||||
})(window);
|
})(window);
|
||||||
|
|
||||||
console.log(relationship('妈妈的儿子'));
|
console.log(relationship('儿子的外公'));
|
Loading…
x
Reference in New Issue
Block a user