I believe the if condition in line `207` is negated: https://github.com/FirefoxBar/HeaderEditor/blob/b9193befab0e51e68f77d1a569e7c43f1cfdc43b/src/share/core/rule-utils.ts#L207-L209 You would want to test if the exclusion regex *matches* the URL when returning `IS_MATCH.MATCH_BUT_EXCLUDE`.
I believe the if condition in line
207is negated:HeaderEditor/src/share/core/rule-utils.ts
Lines 207 to 209 in b9193be
You would want to test if the exclusion regex matches the URL when returning
IS_MATCH.MATCH_BUT_EXCLUDE.