优化正则表达式

This commit is contained in:
gently 2024-05-14 19:37:16 +08:00
parent de7e155cde
commit 14822ace09
2 changed files with 1 additions and 284 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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