])(?{ if(!defined($2) or $2 eq '') {$tmp = $3; }else{ $tmp = $2; } })