Skip to content

Commit

Permalink
updated bug修复
Browse files Browse the repository at this point in the history
  • Loading branch information
mumuy committed Jul 13, 2022
1 parent 0bee076 commit afe84a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/relationship.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/relationship.zh-HK.min.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/method.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ export function getSelectors(str){
var replaceFilter = {
'^从表':['从父姑表','从父舅表','从父姨表','从母姑表','从母舅表','从母叔表'],
'^表表':['姑表叔表','姑表姑表','姑表舅表','姑表姨表','舅表叔表','舅表姑表','舅表舅表','舅表姨表'],
'^([夫妻]?)表':['$1姑表','$1舅表','$1姑表伯','$1姑表叔','$1舅表伯','$1舅表叔'],
'^([夫妻]?)表':['$1姑表','$1舅表'],
'^([夫妻]?)表(.{2,})':['$1姑表伯$2','$1姑表叔$2','$1舅表伯$2','$1舅表叔$2'],
'^([姑舅])表(?=[^伯叔])':['$1表伯','$1表叔'],
'^姻':['姑姻','姨姻','姊妹姻','女姻'],
'^眷':['叔眷','舅眷','兄弟眷','男眷'],
'^亲家':['姊妹姻','兄弟眷'],
'^([堂表姨]?)([曾高天烈太远鼻]?)(祖?)([伯叔姑舅姨])':['$1$4$2$3'],
'^([堂表姨]?)([曾高天烈太远鼻]?)([伯叔姑舅姨])':['$1$4$2$3'],
'^([曾玄来晜仍云耳])([侄甥])':['$2$1'],
'^外表([伯叔姑舅姨])':['姑表$1外','舅表$1外'],
'^([堂表姨]?)外甥':['$1甥'],
Expand Down

0 comments on commit afe84a6

Please sign in to comment.