{"version":"2.1.332","anchor":"wildcard-permission-matching-rewritten","canonical_anchor":"wildcard-permission-matching-rewritten","heading":"Matching of * in permission rules was rewritten","tier":"internal","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/wildcard-permission-matching-rewritten","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Matching of `*` in permission rules was rewritten\n\nWildcard matching now checks the parts around each `*` in order, and a rule ending in a space and one `*` also matches the bare command\n\n**What**\n\nPermission rules can use `*` to stand for any text. Claude Code no longer turns such a pattern into one large search expression. It now checks the pieces around each `*` in order.\n\nA pattern that ends in a space and a single `*` now also matches the command on its own, with nothing after it.\n\n**Why**\n\nThis may change which commands some rules match, so a rule ending in ` *` may now cover the plain command too.\n\n- Area: Permissions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}