mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-12-29 07:34:17 +08:00
Try to fix regex rules
This commit is contained in:
parent
a9b458de22
commit
7230e8cffc
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -98,12 +98,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Filter valid domains
|
- name: Filter valid domains
|
||||||
run: |
|
run: |
|
||||||
cat proxy-sort.txt | awk '/^([a-zA-Z0-9-\_]+\.)+[a-zA-Z0-9-]+$/{print $0}' > $GOPATH/src/$GEOSITE_REPO/data/proxylist
|
cat proxy-sort.txt | awk '/^([a-zA-Z0-9[.-.][._.]]+\.)+[a-zA-Z0-9[.-.]]+$/{print $0}' > $GOPATH/src/$GEOSITE_REPO/data/proxylist
|
||||||
cat proxy-sort.txt | awk '!/^([a-zA-Z0-9-\_]+\.)+[a-zA-Z0-9-]+$/{print $0}' > proxy-filter.txt
|
cat proxy-sort.txt | awk '!/^([a-zA-Z0-9[.-.][._.]]+\.)+[a-zA-Z0-9[.-.]]+$/{print $0}' > proxy-filter.txt
|
||||||
cat direct-sort.txt | awk '/^([a-zA-Z0-9-\_]+\.)+[a-zA-Z0-9-]+$/{print $0}' > $GOPATH/src/$GEOSITE_REPO/data/directlist
|
cat direct-sort.txt | awk '/^([a-zA-Z0-9[.-.][._.]]+\.)+[a-zA-Z0-9[.-.]]+$/{print $0}' > $GOPATH/src/$GEOSITE_REPO/data/directlist
|
||||||
cat direct-sort.txt | awk '!/^([a-zA-Z0-9-\_]+\.)+[a-zA-Z0-9-]+$/{print $0}' > direct-filter.txt
|
cat direct-sort.txt | awk '!/^([a-zA-Z0-9[.-.][._.]]+\.)+[a-zA-Z0-9[.-.]]+$/{print $0}' > direct-filter.txt
|
||||||
cat reject-sort.txt | awk '/^([a-zA-Z0-9-\_]+\.)+[a-zA-Z0-9-]+$/{print $0}' > $GOPATH/src/$GEOSITE_REPO/data/rejectlist
|
cat reject-sort.txt | awk '/^([a-zA-Z0-9[.-.][._.]]+\.)+[a-zA-Z0-9[.-.]]+$/{print $0}' > $GOPATH/src/$GEOSITE_REPO/data/rejectlist
|
||||||
cat reject-sort.txt | awk '!/^([a-zA-Z0-9-\_]+\.)+[a-zA-Z0-9-]+$/{print $0}' > reject-filter.txt
|
cat reject-sort.txt | awk '!/^([a-zA-Z0-9[.-.][._.]]+\.)+[a-zA-Z0-9[.-.]]+$/{print $0}' > reject-filter.txt
|
||||||
|
|
||||||
- name: Add list into appropriate category file
|
- name: Add list into appropriate category file
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user