mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-11 21:57:14 +03:00
Review finding on #553: an object-literal argument like ${getOffset({ size: 2 })} ended the interpolation match at the inner closing brace, losing the shadow context. Interpolations now admit one level of braces (with paired quotes inside); the shared subpattern is hoisted into compiled constants. Deeper nesting stays fail-safe by design: a line-scoped regex cannot balance arbitrary braces, and the miss produces a waivable finding, never a leak. AI-assisted (Cursor agent), reviewed by maintainer. Co-authored-by: Cursor <cursoragent@cursor.com>