Wild cards for comparison

Foster, Richard Richard.Foster at echostar.com
Mon Nov 10 13:20:39 EST 2008


I am trying to update a program to search for two servers instead of 1
and I am having problems. The two servers are blah1-gt1 and blah2-gp1

 

It has been working as shown in the example below: 

 

Ex x="blah1-gt1"

 

I tried x="*-g*1"

 

And it did not work.

 

I have imported both the glob and fnmatch modules for wild card
expressions  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081110/6218e7ce/attachment.html>


More information about the Python-list mailing list