if[["x$curlCode"="x0"]]&&[[ $httpCode =~[02][0-9]{2}]]shell
~ shell中使用正则的标识符curl
[02]表示第一个数字是0或者2url
[0-9]表示0-9之间的任意数字spa
{2}表示此处有两个数字it