>和一个不带引号的正则表达式字符串变量来代替.But instead of messing with those shell options just use the extended test operator [[ with an unquoted regex string variable. 这篇关于存储在shell变量中的正则表达式在双括号之间不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-25 01:59