mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 14:29:16 +08:00
更宽松的提取规则
This commit is contained in:
parent
14822ace09
commit
39f4241013
@ -124,7 +124,7 @@ class addressMaker
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
preg_match(
|
preg_match(
|
||||||
'/^\|\|([0-9a-z\-\.]+[a-z]+)\^(\$([^=~]+?,)?(image|third-party|script)(,[^=~]+)?)?$/',
|
'/^\|\|([0-9a-z\-\.]+[a-z]+)\^(\$([^=~]+?,)?(image|third-party|script|subdocument|popup|rewrite)(,[^=~]+)?)?$/',
|
||||||
$line,
|
$line,
|
||||||
$matches
|
$matches
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user