mirror of
https://github.com/postgres/postgres.git
synced 2026-03-05 23:04:24 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue