{"version":"2.0.42","anchor":"hook-matching-logic","canonical_anchor":"hook-matching-logic","heading":"Hook Matching Logic","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.42\/e\/hook-matching-logic","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.42","markdown":"### Hook Matching Logic\n\n**What:** Hook matching now considers both matcher name and hook event when finding applicable hooks.\n\n**Details:**\n\n- Function `Hr2()` at line 472167 updated to match hooks by matcher name first, then by hook criteria\n- Supports empty matcher string for wildcard matching\n- Returns full hook entry (not just `onMatch` callback) for more context\n- **Evidence**: `Hr2() at line 472167-472185`"}