AdguardTeam / FiltersCompiler

A tool that compiles & validates filters
GNU Lesser General Public License v3.0
52 stars 12 forks source link

Implement protection against user error during filter generation #177

Open Alex-302 opened 1 year ago

Alex-302 commented 1 year ago

Problem

Currently, the filters compiler allows for accidental and non-obvious mistakes, such as

Proposed solution

To prevent such errors, we need a protection mechanism which will warn us if a significant change in volume occurred during filter building. Also, add a function to test the speed of regular expressions used in the rules (unescaped).

Related to ADG-6782