Moved inline cacultion regex to a constant to ensure constistency

This commit is contained in:
Stefan Zermatten
2021-02-16 10:14:26 +02:00
parent 2776850311
commit 299f5a06dd
3 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
const INLINE_CALCULATION_REGEX = /\{([^{}]*)\}/g;
export default INLINE_CALCULATION_REGEX;