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
de7e155cde
commit
14822ace09
File diff suppressed because it is too large
Load Diff
@ -117,7 +117,7 @@ cat dead-hosts*.txt | grep -v -E "^(#|\!)" \
|
||||
| uniq >base-dead-hosts.txt
|
||||
|
||||
|
||||
cat easylist*.txt | grep -E "^\|\|[^\*\^]+?\^" | sort | uniq >base-src-easylist.txt
|
||||
cat easylist*.txt | grep -E "^\|\|[-0-9a-zA-Z\.:]+\^" | sort | uniq >base-src-easylist.txt
|
||||
cat easylist*.txt | grep -E "^\|\|?([^\^=\/:]+)?\*([^\^=\/:]+)?\^" | sort | uniq >wildcard-src-easylist.txt
|
||||
cat easylist*.txt | grep -E "^@@\|\|?[^\^=\/:]+?\^([^\/=\*]+)?$" | sort | uniq >whiterule-src-easylist.txt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user