- Switch to setuptools;
- better
__repr__
forAdblockRule
; - Python 3.4 support is confirmed;
- testing improvements.
This release provides much faster AdblockRules.should_block() method for rules without options and rules with 'domain' option.
- better combined regex for option-less rules that makes re2 library always use DFA without falling back to NFA;
- an index for rules with domains;
params
method arguments are renamed tooptions
for consistency.
By default AdblockRules
autodetects re2 library and uses
it if a compatible version is detected.
Initial release.