Author: adam-guest
Date: 2008-03-15 15:20:21 +0000 (Sat, 15 Mar 2008)
New Revision: 1135
Modified:
trunk/scripts/checkbashisms.pl
Log:
Simplify invalid function name regex
Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl 2008-03-15 15:18:25 UTC (rev 1134)
+++ trunk/scripts/checkbashisms.pl 2008-03-15 15:20:21 UTC (rev 1135)
@@ -169,7 +169,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+)\s*\w*[^a-zA-Z0-9_\s]+.*?\(\)' => q<function names
should only contain [a-z0-9_]>,
+ '(?:^|\s+)\s*\w*[^\w\s]+.*?\(\)' => q<function names should
only contain [a-z0-9_]>,
);
my %string_bashisms = (
--
To unsubscribe, send mail to [EMAIL PROTECTED]