mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Add multi-line flag to regex that needs it. Backpatch to 8.2. Fix from Andreas Zeugswetter
This commit is contained in:
parent
74f05fcf07
commit
6faae172df
@ -184,7 +184,7 @@ sub AddDir {
|
||||
}
|
||||
|
||||
# Match rules that pull in source files from different directories
|
||||
my $replace_re = qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\/]+$};
|
||||
my $replace_re = qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\/]+$}m;
|
||||
while ($mf =~ m{$replace_re}m) {
|
||||
my $match = $1;
|
||||
my $top = $2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user