* automake.in (file_contents_internal): Simplify regex to
separate relationship from actions in rules.
Reported by Sam Hocevar.
2002-10-08 Alexandre Duret-Lutz <adl@gnu.org>
+ For Debian Bug#162583:
+ * automake.in (file_contents_internal): Simplify regex to
+ separate relationship from actions in rules.
+ Reported by Sam Hocevar.
+
* lib/Automake/Conditional.pm (has): Simplify.
2002-10-07 Alexandre Duret-Lutz <adl@gnu.org>
Robert Collins robert.collins@itdomain.com.au
Rusty Ballinger rusty@rlyeh.engr.sgi.com
Ryan T. Sammartino ryants@shaw.ca
+Sam Hocevar sam@zoy.org
Sergey Vlasov vsu@mivlgu.murom.ru
Seth Alves alves@hungry.com
Shuhei Amakawa <sa264@cam.ac.uk>
# Separate relationship from optional actions: the first
# `new-line tab" not preceded by backslash (continuation
# line).
- # I'm quite shoked! It seems that (\\\n|[^\n]) is not the
- # same as `([^\n]|\\\n)!!! Don't swap it, it breaks.
my $paragraph = $_;
- /^((?:\\\n|[^\n])*)(?:\n(\t.*))?$/som;
+ /^(.*?)(?:(?<!\\)\n(\t.*))?$/som;
my ($relationship, $actions) = ($1, $2 || '');
# Separate targets from dependencies: the first colon.