Comfy-Org / Comfy-Org/ComfyUI_frontend
i18n: interpolationPattern lost its (?<!\\) lookbehind with no explanation
Open
area:i18n
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
## Problem
`scripts/i18n/protected-tokens.ts` on `main`:
```ts
const interpolationPattern = /\{(?:[A-Za-z][A-Za-z0-9_.-]*|\d+|'[^']*')\}/g
```
An earlier revision of the same file carried a negative lookbehind:
```ts
const interpolationPattern = /(?
Contributor guide
Assessment
This issue has not been assessed yet.