|
@@ -179,7 +179,7 @@ export const formulaStringToArray = (text,elemap,formulaMap) => {
|
|
|
const elementReg = /^E\[(.[^\]]+_.[^\]]+)\]/;//元素
|
|
|
const paramReg = /^WP\[(.[^\]]+)\]/;//节点参数
|
|
|
const commaReg = /^,/;//逗号
|
|
|
- const operatorReg = /^ (\+|-|\*|%) /;//加减乘除
|
|
|
+ const operatorReg = /^ (\+|-|\*|%|\/) /;//加减乘除
|
|
|
const wordReg = /^[\u4e00-\u9fa5\w0-9'"-]+/;//文本
|
|
|
const logicalReg = /^(>=|<=|>|<|=|&&)/;//逻辑符号
|
|
|
|