AdguardTeam / AdguardTeam/FiltersCompiler

Add internal escaping for special characters in regular expressions for better compatibility with uBO

未关闭
#179 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
JavaScript
星标
64
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

https://github.com/AdguardTeam/FiltersRegistry/pull/802/files#diff-eafb4aff19bc57c3106afe5e1d4aef0b6422e0de242745e6e94f7d5733ab1cc1R4504
The rules from the filters, which use uBO syntax:
```
Error: "Unknown modifier: all" in the rule: "/(\.|//|^)1xslot\d{5,}\.com(/|$)/$all,~inline-font,~inline-script"
Error: "Unknown modifier: all" in the rule: "/(\.|//|^)1xslot\d{5,}\.com(/|$)/$all"
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。