更新时间:2023-01-12 21:41:56
Try a character class instead
echo "$STRING" | egrep '[*]'
匹配一行与文字星号“*”在grep
Python正则表达式匹配文字星号
grep只能显示匹配搜索模式的文字吗?