{"version":"2.1.304","anchor":"glob-matcher-rewritten","canonical_anchor":"glob-matcher-rewritten","heading":"File pattern matching has been rewritten","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304\/e\/glob-matcher-rewritten","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304","markdown":"### File pattern matching has been rewritten\n\nThe matcher for file patterns such as `*` and `**` has been rewritten, so unusual patterns may now match differently\n\n**What**\n\nClaude Code uses file patterns, such as `*.js` or `src\/**`, to match paths. The matcher has been rewritten. It now breaks a pattern into parts such as a single star, a double star and a set of characters. Before, it built a regular expression and fell back to an exact text match if that failed.\n\n**Why**\n\nPatterns in permission rules and sandbox settings may match differently in unusual cases. Rules with odd patterns are worth checking.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}