diff --git a/regression/test.pl b/regression/test.pl index a30fe0b4215..2c567084cf1 100755 --- a/regression/test.pl +++ b/regression/test.pl @@ -74,7 +74,7 @@ ($$$$$$$$$$) foreach my $key (@keys) { my $value = $defines->{$key}; $options =~ s/(\$$key$|\$$key )/$value /g; - $options =~ s/\$$key([:;])/$value\1/g; # Variables in --classpath are separated by (semi)colons + $options =~ s/\$$key([:;])/$value$1/g; # Variables in --classpath are separated by (semi)colons } if (scalar @keys) { foreach my $word (split(/\s/, $options)) {