Claude Code v2.1.324 ·
Command reading now handles lookbehind patterns and array entries
Claude Code now reads commands containing lookbehind patterns or array entry assignments instead of giving up on them
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.324,
ImprovementsSection of the release
What
Before running a shell command, Claude Code reads it to decide whether to allow it or ask you. That reading now handles two things it did not before:
- lookbehind groups in search patterns, which match text based on what comes before it, where it used to stop with an error
- assignments to a numbered or named entry in a list, such as
arr[0]=x
Why
Fewer commands should fall back to being refused or to asking you, since Claude Code can now understand these forms.
See this entry in the whole of v2.1.324 →