更宽松的提取规则

This commit is contained in:
gently 2024-05-14 19:53:05 +08:00
parent 14822ace09
commit 39f4241013

View File

@ -124,7 +124,7 @@ class addressMaker
if (
preg_match(
'/^\|\|([0-9a-z\-\.]+[a-z]+)\^(\$([^=~]+?,)?(image|third-party|script)(,[^=~]+)?)?$/',
'/^\|\|([0-9a-z\-\.]+[a-z]+)\^(\$([^=~]+?,)?(image|third-party|script|subdocument|popup|rewrite)(,[^=~]+)?)?$/',
$line,
$matches
)