Author: adam-guest
Date: 2008-03-18 12:31:03 +0000 (Tue, 18 Mar 2008)
New Revision: 1171

Modified:
   trunk/scripts/checkbashisms.pl
Log:
Move optional backslash in the heredoc detection inside quotes rather than 
outside

Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl      2008-03-18 12:17:50 UTC (rev 1170)
+++ trunk/scripts/checkbashisms.pl      2008-03-18 12:31:03 UTC (rev 1171)
@@ -334,7 +334,7 @@
 
            # Only look for the beginning of a heredoc here, after we've
            # stripped out quoted material, to avoid false positives.
-           if (m/(?:^|[^<])\<\<\s*\\?[\'\"]?(\w+)[\'\"]?/) {
+           if (m/(?:^|[^<])\<\<\s*[\'\"]?\\?(\w+)[\'\"]?/) {
                $cat_string = $1;
            }
        }



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to