$_[0] =~ /$mask/ is equal to $_[0] =~ //
In reply to Re^2: Regular expressions and sort by ioannis in thread Regular expressions and sort by zaro