diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-04 18:43:58 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-04 18:43:58 +0000 |
commit | c51ce698b7629cb133550777a8e177d582c4acdc (patch) | |
tree | 811114e354a9b51214c80c4e1f3f30a475c496a8 | |
parent | 500345465e9d78cc9c782febfcbede4145525876 (diff) | |
download | portage-c51ce698b7629cb133550777a8e177d582c4acdc.tar.gz portage-c51ce698b7629cb133550777a8e177d582c4acdc.tar.bz2 portage-c51ce698b7629cb133550777a8e177d582c4acdc.zip |
Fix func_start_re so that it requires at least one alphanumeric character.
svn path=/main/trunk/; revision=9434
-rwxr-xr-x | bin/filter-bash-environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/filter-bash-environment.py b/bin/filter-bash-environment.py index 861f0a693..93b049768 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): |