Claude Code v2.1.221 ·
Escaped backticks unescape correctly in template-literal strings
Fixes escaped backticks being dropped when parsing template-literal strings.
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
InternalsArea: what it touches
Bug FixesKind: in v2.1.221,
Bug FixesSection of the release
What
The unescape routine for template-literal-style strings handles an escaped backtick instead of dropping it through the generic character branch.
Details
- Rewritten as a single pass with an explicit escaped-backtick case.
- The line-continuation strip is folded into the same regex.
Evidence
\uFFFD
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.221 →