diff --git a/src/regexp.ts b/src/regexp.ts index 73786298..80f06738 100644 --- a/src/regexp.ts +++ b/src/regexp.ts @@ -3,7 +3,7 @@ import { seal } from './utils.js'; // eslint-disable-next-line unicorn/better-regex export const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode export const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm); -export const TMPLIT_EXPR = seal(/\${[\w\W]*}/gm); +export const TMPLIT_EXPR = seal(/\$\{[\w\W]*}/gm); export const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]/); // eslint-disable-line no-useless-escape export const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape export const IS_ALLOWED_URI = seal(