brave / brave/adblock-rust

"Best-effort" conversion of full-regex rules to content-blocking format

Open
#156 3 comments 0 reactions 1 assignee Claimed by @antonok-edm View on GitHub
enhancement good first issue
Dominant language
Rust
Stars
2.8k
Forks
250
Avg merge
1d 16h
Merged PRs (30d)
6

Description

Currently, full-regex rules are ignored when converting to content-blocking syntax because the [content-blocking specification](https://developer.apple.com/documentation/safariservices/creating_a_content_blocker)'s support for regex features is much worse than what is allowed in ABP-syntax rules.

It should still be possible to convert _some_ rules, by first verifying that the required regex featureset for each is still supported in content-blocking format. However, there will always be rules that cannot be converted.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.