Re: Regexp not performing the same in FTP versus Python

2007-02-08 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, IamIan wrote: > Hello all, > > I'm trying to use a regular expression in an FTP script to list > certain files. When run in a standard FTP session the command: > > dir .??[oOdDnNmM]* > > returns 48 files. When I use the following Python script it prints > roughly

Re: Regexp not performing the same in FTP versus Python

2007-02-08 Thread IamIan
It's strange but since more files have been added to this directory the regexp appears to be working correctly. Sorry to bother the list and thanks for your time. Ian -- http://mail.python.org/mailman/listinfo/python-list

Regexp not performing the same in FTP versus Python

2007-02-08 Thread IamIan
Hello all, I'm trying to use a regular expression in an FTP script to list certain files. When run in a standard FTP session the command: dir .??[oOdDnNmM]* returns 48 files. When I use the following Python script it prints roughly 12 files (a subset of the 48), ending with 'None': imp