From c51ce698b7629cb133550777a8e177d582c4acdc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 4 Mar 2008 18:43:58 +0000 Subject: Fix func_start_re so that it requires at least one alphanumeric character. svn path=/main/trunk/; revision=9434 --- bin/filter-bash-environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/filter-bash-environment.py') diff --git a/bin/filter-bash-environment.py b/bin/filter-bash-environment.py index 861f0a69..93b04976 100755 --- a/bin/filter-bash-environment.py +++ b/bin/filter-bash-environment.py @@ -12,7 +12,7 @@ egrep_compat_map = { } here_doc_re = re.compile(r'.*\s<<[-]?(\w+)$') -func_start_re = re.compile(r'^[-\w]*\s*\(\)\s*$') +func_start_re = re.compile(r'^[-\w]+\s*\(\)\s*$') func_end_re = re.compile(r'^\}$') def compile_egrep_pattern(s): -- cgit v1.2.3-65-gdbad