From 9f821293ac8eb72346794b153f363a88198a3314 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 2 Mar 2008 23:26:42 +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. svn path=/main/trunk/; revision=9416 --- 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