{"version":"2.1.321","anchor":"edit-tool-clearer-errors-for-multiple-matches","canonical_anchor":"edit-tool-clearer-errors-for-multiple-matches","heading":"Editing several parts of a file now explains when text matches more than once","tier":"notice","area":"Tools","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/edit-tool-clearer-errors-for-multiple-matches","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Editing several parts of a file now explains when text matches more than once\n\nMulti-part file edits now fail with a clear error when the text to replace appears more than once, like single edits do\n\n**What**\n\nWhen Claude edits a file, it names the text to replace. If that text appears several times, the single edit already stopped with an error saying how many matches it found. Edits that change several parts of a file at once now give the same kind of error. Before, they could only fail with \"String not found\". Both kinds of edit now build this message the same way.\n\n**Why**\n\nA clearer error helps Claude understand what went wrong and fix its edit.\n\n- Area: Tools\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}