我有一个代码作为
$wrk = OC192-1-1-1; @temp = split (/-/,$wrk); if ($temp1[3] =~ /101 || 102 /) { print "yes"; } else { print "no"; }
输出:
yes