projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5003454
)
Fix func_start_re so that it requires at least one alphanumeric character.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 4 Mar 2008 18:43:58 +0000
(18:43 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 4 Mar 2008 18:43:58 +0000
(18:43 -0000)
svn path=/main/trunk/; revision=9434
bin/filter-bash-environment.py
patch
|
blob
|
history
diff --git
a/bin/filter-bash-environment.py
b/bin/filter-bash-environment.py
index 861f0a6939f5cc023e78e3b9cc27075308db7b11..93b049768d20d936bcbf3598b60e9eb337050350 100755
(executable)
--- 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):