Simplify an RE

This commit is contained in:
Tom Eastep 2010-11-06 20:25:46 -07:00
parent 092f032b8e
commit 1e6b7c8130

View File

@ -2892,7 +2892,7 @@ sub get_params() {
fatal_error "Processing of $fn failed" if $?; fatal_error "Processing of $fn failed" if $?;
for ( @params ) { for ( @params ) {
if ( /^(?:(.*?)=)(.*)$/ ) { if ( /^(.*?)=(.*)$/ ) {
$params{$1} = $2 unless $1 eq '_'; $params{$1} = $2 unless $1 eq '_';
} else { } else {
assert(0); assert(0);