Make the generated regexps not too general!

This commit is contained in:
terry%netscape.com 1998-09-03 23:57:21 +00:00
parent 15bd1de2ff
commit 241b923eea

View File

@ -172,6 +172,7 @@ while (@reprow = $repquery->fetchrow()) {
$regexp =~ s/\./\\./g;
$regexp =~ s:\*$:.*:;
$regexp =~ s:\%$:[^/]*:;
$regexp = '^' . $regexp . '$';
print COMMITCHECK "if (m:$regexp:) {return '$partid';}\n";
}
}