updated 不扩大解释夫妻旁支亲戚年龄
This commit is contained in:
parent
4048131aca
commit
15bcd4ebca
2
dist/relationship.min.js
vendored
2
dist/relationship.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/relationship.zh-HK.min.js
vendored
2
dist/relationship.zh-HK.min.js
vendored
File diff suppressed because one or more lines are too long
@ -77,7 +77,7 @@ for(var key in _map){
|
|||||||
if(key.match(/^[fm]/)||key.match(/^[olx][bs]$|^[olx][bs],[^mf]/)){ // 只对长辈或者兄弟辈匹配
|
if(key.match(/^[fm]/)||key.match(/^[olx][bs]$|^[olx][bs],[^mf]/)){ // 只对长辈或者兄弟辈匹配
|
||||||
for(var k in branch){
|
for(var k in branch){
|
||||||
var newKey = k+','+key;
|
var newKey = k+','+key;
|
||||||
if(_map[newKey.replace(/,[ol]([sb])(,[wh])?$/,',x$1$2')]){ // 不扩大解释年龄
|
if(_map[newKey.replace(/,[ol]([sb])(,[wh])?$/,',x$1$2').replace(/(,[sd])&[ol](,[wh])?$/,'$1$2')]){ // 不扩大解释年龄
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(!_map[newKey]){
|
if(!_map[newKey]){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user