Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【bug】自从3.2.9开始订阅消息会出现grep正则表达式错误 #33369

Open
liao20081228 opened this issue May 1, 2024 · 0 comments

Comments

@liao20081228
Copy link

日 23:46:01】: 🟠vmess节点:XXXXXXX
grep: bad regex '@|?|type': Invalid preceding regular expression
【2024年05月01日 23:46:01】: 🟠vmess节点:XXXXXXX
grep: bad regex '@|?|type': Invalid preceding regular expression
【2024年05月01日 23:46:02】: 🟠vmess节点:XXXXXXX
grep: bad regex '@|?|type': Invalid preceding regular expression
【2024年05月01日 23:46:02】: 🟠vmess节点:XXXXXXX
grep: bad regex '@|?|type': Invalid preceding regular expression
【2024年05月01日 23:46:02】: 🟠vmess节点:XXXXXXX
grep: bad regex '@|?|type': Invalid preceding regular express

原因是因为:shadowsocks/scripts/ss_online_update.sh 1838行

local _match=$(echo "${node_info}" | grep -E "@|?|type")

应该改为

local _match=$(echo "${node_info}" | grep -E "@|\?|type")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant