diff --git a/src/utils/Evaluator.ts b/src/utils/Evaluator.ts index 00707e0e..6fa09b6c 100644 --- a/src/utils/Evaluator.ts +++ b/src/utils/Evaluator.ts @@ -2,6 +2,11 @@ import * as _ from '@formio/lodash'; // BaseEvaluator is for extending. export class BaseEvaluator { + static templateSettings = { + interpolate: /{{([\s\S]+?)}}/g, + evaluate: /\{%([\s\S]+?)%\}/g, + escape: /\{\{\{([\s\S]+?)\}\}\}/g + }; public static noeval: boolean = false; public static evaluator(func: any, ...params: any) { if (Evaluator.noeval) {