TT#81700 generate_test_tt2.pl: fix subst_ids()

* match must be with all the numbers

Change-Id: Ib6888798df91b9551b08a1df03e7bb36f655a13c
mr9.2
Victor Seva 6 years ago
parent 4f6e639ef9
commit 183e841238
No known key found for this signature in database
GPG Key ID: B1589889727198E0

@ -119,7 +119,7 @@ sub subst_ids
}
}
foreach my $id (sort keys %{$ids}) {
if($line =~ s/(=|: )\Q${id}\E([^\d]?)/${1}[% $ids->{$id} %]${2}/g) {
if($line =~ s/(=|: )\Q${id}\E([^\d]+?)/${1}[% $ids->{$id} %]${2}/g) {
return $line;
}
}

Loading…
Cancel
Save