updated 解析过程中遇到[|xb]报错问题修复

This commit is contained in:
PASSER-BY
2022-03-26 13:29:06 +08:00
parent af84ec0826
commit b11876fd92
3 changed files with 18 additions and 18 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+16 -16
View File
@@ -66,13 +66,13 @@
exp:/(,[mw0])(,[olx][sb])+,[olx]b/g, exp:/(,[mw0])(,[olx][sb])+,[olx]b/g,
str:'$1,xb' str:'$1,xb'
}, },
{//不知道性别,兄弟姐妹的兄弟是自己或兄弟 {//不知道性别,兄弟姐妹的兄弟是兄弟或自己
exp:/^,[olx][sb],[olx]b(.+)?$/, exp:/^,[olx][sb],[olx]b(.+)?$/,
str:'$1#,xb$1' str:',xb$1#$1'
}, },
{//不知道性别,兄弟姐妹的姐妹是自己或姐妹 {//不知道性别,兄弟姐妹的姐妹是姐妹或自己
exp:/^,[olx][sb],[olx]s(.+)?$/, exp:/^,[olx][sb],[olx]s(.+)?$/,
str:'$1#,xs$1' str:',xs$1#$1'
}, },
{//将复合称谓拆分 {//将复合称谓拆分
exp:/^,x([sb])$/, exp:/^,x([sb])$/,
@@ -100,29 +100,29 @@
exp:/,[mf],s&([ol])/, exp:/,[mf],s&([ol])/,
str:',$1b' str:',$1b'
}, },
{//如果自己是男性,父母的儿子是自己或者兄弟 {//如果自己是男性,父母的儿子是兄弟或者自己
exp:/^(.*)(,[fh1]|[xol]b),[mf],s(.*)$/, exp:/^(.*)(,[fh1]|[xol]b),[mf],s(.*)$/,
str:'$1$2,xb$3#$1$2$3' str:'$1$2,xb$3#$1$2$3'
}, },
{//如果自己是女性,父母的女儿是自己或者姐妹 {//如果自己是女性,父母的女儿是姐妹或者自己
exp:/^(.*)(,[mw0]|[xol]s),[mf],d(.*)$/, exp:/^(.*)(,[mw0]|[xol]s),[mf],d(.*)$/,
str:'$1$2,xs$3#$1$2$3' str:'$1$2,xs$3#$1$2$3'
}, },
{//如果自己是女性,父母的儿子是自己兄弟 {//如果自己是女性,父母的儿子是自己兄弟
exp:/(,[mw0]|[xol]s),[mf],s/, exp:/(,[mw0]|[xol]s),[mf],s/,
str:'$1,xb' str:'$1,xb'
}, },
{//如果自己是男性,父母的女儿是自己姐妹 {//如果自己是男性,父母的女儿是自己姐妹
exp:/(,[fh1]|[xol]b),[mf],d/, exp:/(,[fh1]|[xol]b),[mf],d/,
str:'$1,xs' str:'$1,xs'
}, },
{//父母的儿子是自己或兄弟 {//父母的儿子是兄弟或自己
exp:/^,[mf],s(.+)?$/, exp:/^,[mf],s(.+)?$/,
str:',1$1#,xb$1' str:',xb$1#,1$1'
}, },
{//父母的女儿是自己或者姐妹 {//父母的女儿是姐妹或者自己
exp:/^,[mf],d(.+)?$/, exp:/^,[mf],d(.+)?$/,
str:',0$1#,xs$1' str:',xs$1#,0$1'
}, },
/* 孩子 */ /* 孩子 */
{//孩子的姐妹是自己的女儿(年龄判断) {//孩子的姐妹是自己的女儿(年龄判断)
@@ -166,13 +166,13 @@
exp:/(,[fhs1](&[ol])?|[olx]b),[ds](&[ol])?,m/g, exp:/(,[fhs1](&[ol])?|[olx]b),[ds](&[ol])?,m/g,
str:'$1,w' str:'$1,w'
}, },
{//不知道性别,子女的妈妈是自己或妻子 {//不知道性别,子女的妈妈是妻子或自己
exp:/^,[ds],m(.+)?$/, exp:/^,[ds],m(.+)?$/,
str:'$1#,w$1' str:',w$1#$1'
}, },
{//不知道性别,子女的爸爸是自己或丈夫 {//不知道性别,子女的爸爸是丈夫或自己
exp:/^,[ds],f(.+)?$/, exp:/^,[ds],f(.+)?$/,
str:'$1#,h$1' str:',h$1#$1'
}, },
{//夫妻的孩子就是自己的孩子 {//夫妻的孩子就是自己的孩子
exp:/,[wh](,[ds])/g, exp:/,[wh](,[ds])/g,