@dartech/arsenal-ui 1.4.67 → 1.4.68
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -2086,7 +2086,7 @@ const formatTableRowValue = ({
|
|
2086
2086
|
const digitsOnly = new RegExp('^[-+]?[0-9]+$');
|
2087
2087
|
const floatsOnly = new RegExp(/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/);
|
2088
2088
|
const isExpression = (value, useRecursion) => {
|
2089
|
-
if (typeof value === 'string') return
|
2089
|
+
if (typeof value === 'string') return /[$%#{<]{1}(?:S?JS)?(?:[{(%#>]|\()/g.test(value);
|
2090
2090
|
if (useRecursion) {
|
2091
2091
|
if (Array.isArray(value)) {
|
2092
2092
|
for (const item of value) {
|