updated 表达式语法添加
This commit is contained in:
@@ -13,10 +13,13 @@ export default [
|
||||
})
|
||||
},
|
||||
{
|
||||
exp:/^(\S+?)是(谁|什么亲戚|啥亲戚)??$/,
|
||||
opt:match=>({
|
||||
text:match[1]
|
||||
})
|
||||
exp:/^(\S+?)是(谁|什么亲戚|啥亲戚|什么辈分|啥辈分)??$/,
|
||||
opt:match=>{
|
||||
return {
|
||||
text:match[1],
|
||||
type:match[0].indexOf('的')>-1?'default':'chain'
|
||||
};
|
||||
}
|
||||
},
|
||||
{
|
||||
exp:/^(\S+?)(应该|得)?(称呼|叫|喊)(\S+?)(什么|啥)??$/,
|
||||
@@ -61,6 +64,13 @@ export default [
|
||||
type:'chain'
|
||||
})
|
||||
},
|
||||
{
|
||||
exp:/^(\S+?)(指的)?是(什么|啥)亲戚关系??$/,
|
||||
opt:match=>({
|
||||
text:match[1],
|
||||
type:'chain'
|
||||
})
|
||||
},
|
||||
{
|
||||
exp:/^(\S+?)对于(\S+?)是(什么|啥)关系??$/,
|
||||
opt:match=>({
|
||||
|
||||
Reference in New Issue
Block a user