如果我跑
"Year 2010" =~ /([0-4]*)/; print $1;
我得到空字符串.但
"Year 2010" =~ /([0-4]+)/; print $1;
输出"2010".为什么?
regex perl
perl ×1
regex ×1