{"version":"2.1.333","anchor":"bash-permission-regex-no-longer-lets-whitespace-span-newline","canonical_anchor":"bash-permission-regex-no-longer-lets-whitespace-span-newline","heading":"Bash commands starting with a variable are matched only on one line","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/bash-permission-regex-no-longer-lets-whitespace-span-newline","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Bash commands starting with a variable are matched only on one line\n\nThe check that flags shell commands beginning with a `$` variable no longer looks across line breaks\n\n**Unclear.** Whether this makes Claude Code ask for permission more often or less often in practice is not stated.\n\n**What**\n\nClaude Code inspects shell commands before it runs them to decide whether a command needs closer checking or your permission. One check looks for a command that begins with a `$` variable, which is a value the shell fills in when the command runs. That check used to allow line breaks in the gap before the `$`. It now only allows spaces and tabs on the same line.\n\n**Why**\n\nThis changes which commands this check flags for extra checking. A `$` that appears only after a line break is no longer treated as the start of the command by this check.\n\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}