mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 22:56:07 +08:00
更新正则
This commit is contained in:
parent
7c15a074e0
commit
ac582200e4
|
@ -388,7 +388,8 @@ gen_list_repo() {
|
||||||
# echo $base | head -1 >>$list_own_scripts
|
# echo $base | head -1 >>$list_own_scripts
|
||||||
perl -ne "{
|
perl -ne "{
|
||||||
print if /.*([\d\*]*[\*-\/,\d]*[\d\*] ){4}[\d\*]*[\*-\/,\d]*[\d\*]( |,|\").*\/?$file/
|
print if /.*([\d\*]*[\*-\/,\d]*[\d\*] ){4}[\d\*]*[\*-\/,\d]*[\d\*]( |,|\").*\/?$file/
|
||||||
}" $file | perl -pe "{
|
}" $file | \
|
||||||
|
perl -pe "{
|
||||||
s|.*(([\d\*]*[\*-\/,\d]*[\d\*] ){4}[\d\*]*[\*-\/,\d]*[\d\*])( \|,\|\").*/?$file.*|${repo_path}/$file|g;
|
s|.*(([\d\*]*[\*-\/,\d]*[\d\*] ){4}[\d\*]*[\*-\/,\d]*[\d\*])( \|,\|\").*/?$file.*|${repo_path}/$file|g;
|
||||||
s|$dir_scripts/||
|
s|$dir_scripts/||
|
||||||
}" | head -1 >> $list_own_scripts
|
}" | head -1 >> $list_own_scripts
|
||||||
|
|
Loading…
Reference in New Issue
Block a user