Skip to content

Commit

Permalink
优化一处正则表达式 privacy-protection-tools#54
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlyxu committed Mar 8, 2020
1 parent 5134410 commit c747d20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions anti-ad-easylist.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
!TITLE=anti-AD
!VER=20200308015037
!VER=20200308041052
!URL=https://github.com/privacy-protection-tools/anti-AD
!TOTAL_LINES=31670
||201*.myhard.com^
Expand Down Expand Up @@ -5793,7 +5793,7 @@
||bytemgdd.com^
||byujf.cn^
||byusabodcwyct.com^
/^(\S+\.)?(?!xn--)[^\.]{40,}\.[a-z]+(\.cn)?$/
/^([a-z0-9\-]+\.)?(?!xn--)[^\.\/]{40,}\.(com|net|cn)(\.cn)?$/
||byvue.com^
||byxlivaqzo.com^
||byzoo.org^
Expand Down
2 changes: 1 addition & 1 deletion tools/easylist-extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
'/^(\S+\.)?sax[0-9ns]?\.sina\.com\.cn/' => null,
'/delivery([0-9]{2}|dom|modo).com$/' => null,
'/^(\S+\.)?[c-s]ads(abs|abz|ans|anz|ats|atz|del|ecs|ecz|ims|imz|ips|ipz|kis|kiz|oks|okz|one|pms|pmz)\.com/' => null,
'/^(\S+\.)?(?!xn--)[^\.]{40,}\.[a-z]+(\.cn)?$/' => null, //超长域名
'/^([a-z0-9\-]+\.)?(?!xn--)[^\.\/]{40,}\.(com|net|cn)(\.cn)?$/' => null, //超长域名
'/^(\S+\.)?11599[0-9a-z]{2,20}\.com$/' => null, //"澳门新葡京"系列
'/^(\S+\.)?61677[0-9a-z]{0,20}\.com$/' => null, //"澳门新葡京"系列
// '/^(\S+\.)?(?=.*[a-f].*\.com$)(?=.*\d.*\.com$)[a-f0-9]{15,}\.com$/' => null,
Expand Down

0 comments on commit c747d20

Please sign in to comment.