mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
Make the generated regexps not too general!
This commit is contained in:
parent
15bd1de2ff
commit
241b923eea
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user