From e7ea9ae438db74b6563b7ba8f1d7a22cd794a4ce Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 2 Mar 2008 23:28:12 +0000 Subject: Bug #211949 - As suggested by vapier, tighten the variable filter to also exclude variable names that begin with a digit or that contain any non-alphanumeric characters that are not be supported by bash. (trunk r9416) svn path=/main/branches/2.1.2/; revision=9417 --- bin/filter-bash-environment.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/filter-bash-environment.py') diff --git a/bin/filter-bash-environment.py b/bin/filter-bash-environment.py index 83b250b69..691d406da 100755 --- a/bin/filter-bash-environment.py +++ b/bin/filter-bash-environment.py @@ -7,6 +7,7 @@ import os, re, sys egrep_compat_map = { "[:alnum:]" : r'\w', + "[:digit:]" : r'\d', "[:space:]" : r'\s', } -- cgit v1.2.3-1-g7c22