You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.296,
ImprovementsSection of the release
Unclear It is not known which matcher patterns the new check rejects with an error.
What
A hook is a command Claude Code runs automatically at certain moments. Its matcher is a pattern (a regular expression) that decides which tools it applies to. Claude Code now builds these patterns through a separate checking step. One particular kind of error from that step is now passed on as an error. Other errors are still only logged as "Invalid regex pattern in hook matcher", and the hook simply does not match.
Why
Some unsafe or very large matcher patterns might now be rejected openly, where before the hook would just quietly never run.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not known which matcher patterns the new check rejects with an error.