|
@@ -185,7 +185,7 @@ debugger
|
|
|
const commaReg = /^,/;//逗号
|
|
|
const operatorReg = /^ (\+|-|\*|%|\/) /;//加减乘除
|
|
|
// const wordReg = /^[\u4e00-\u9fa5\w0-9'"-]+/;//文本
|
|
|
- const wordReg = /^[\u4e00-\u9fa5\w\\.0-9'"-]+/;//文本
|
|
|
+ const wordReg = /^[\u4e00-\u9fa5\{\}\w\\.0-9'"-]+/;//文本
|
|
|
|
|
|
|
|
|
const logicalReg = /^(>=|<=|>|<|=|&&)/;//逻辑符号
|