Re: [checks/scripts] [PATCH 2/4] heredoc detection
On Fri, Jun 13, 2008 at 03:08:41PM +0100, Adam D. Barratt wrote:
> @@ -615,6 +631,7 @@
>
> # We've checked for all the things we still want to notice in
> # double-quoted strings, so now remove those strings as well.
> + $cat_line =~ s/(^|[^<\\'\\-](?:\\\\)*)\"(?:\\.|[^\\\"])+\"/$1""/g;
> unless ($found) {
> $line =~ s/(^|[^\\\'](?:\\\\)*)\"(?:\\.|[^\\\"])+\"/$1""/g;
[^<\\'\\-] should probably be [^<\\\'-]
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Reply to: