一个警告,我想搜索不区分大小写
所以“aAa”将在(“aaa”,“bbb”)
@foo = ("aAa","bbb"); @bar = grep(/^aaa/i,@foo); print join ",",@bar;
会做的伎俩。