Change filter from glob * to std reg.

develop 2.2.23
Mike Hiretsky 13 years ago
parent 414b5fe459
commit a73c32cfed

@ -610,7 +610,7 @@ storage of variables templates")%location)
reFilter = False
if varsFilter:
try:
reFilter = re.compile("^%s$"%varsFilter)
reFilter = re.compile("%s"%varsFilter)
except:
cl_overriding.printERROR(_("wrong vars filter '%s'")\
%str(varsFilter))

@ -289,7 +289,7 @@ class opt(optparse.OptionParser):
},
{'longOption':"filter",
'optVal':"FILTER",
'help':_("filtered variables (as a regular expression is used *), \
'help':_("filtered variables by regular expression, \
is used in conjunction with the options '-v --show-variables'")
},
{'longOption':"xml",

Loading…
Cancel
Save