Author: adam-guest
Date: 2008-03-15 09:50:39 +0000 (Sat, 15 Mar 2008)
New Revision: 1133

Modified:
   trunk/scripts/checkbashisms.pl
Log:
Fix FPs in the incorrect function name function

Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl      2008-03-14 18:56:33 UTC (rev 1132)
+++ trunk/scripts/checkbashisms.pl      2008-03-15 09:50:39 UTC (rev 1133)
@@ -157,7 +157,7 @@
                '(?:^|\s+)unalias\s+-a' =>     q<unalias -a>,
                '(?:^|\s+)local\s+-[a-zA-Z]+' => q<local -opt>,
                '(?:^|\s+)local\s+\w+=' =>     q<local foo=bar>,
-               '(?:^|\s+)\w*\W+.*?\(\)' => q<function names should only 
contain [a-z0-9_]>,
+               '(?:^|\s+)\s*\w*[^a-zA-Z0-9_\s]+.*?\(\)' => q<function names 
should only contain [a-z0-9_]>,
            );
 
            my %string_bashisms = (



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

Reply via email to