Tutor] Filename match on file extensions
On Wed, Oct 03, 2012 at 03:14:16AM +, Dave Wilder wrote:
>
> Hello,
>
> Below is a snippet of a search I want to do for any file that contains the
> string "quarantine" in the filename.
> It works for picking up any file name co
On Wed, Oct 03, 2012 at 03:14:16AM +, Dave Wilder wrote:
>
> Hello,
>
> Below is a snippet of a search I want to do for any file that contains the
> string "quarantine" in the filename.
> It works for picking up any file name containing "quarantine" except when
> "quarantine" is used as an
On 10/02/2012 11:45 PM, Dave Wilder wrote:
>
>>> Hello,
>>> Below is a snippet of a search I want to do for any file that contains the
>>> string "quarantine" in the filename.
>>> It works for picking up any file name containing "quarantine" except when
>>> "quarantine" is used as an extension.
>
>> Hello,
>> Below is a snippet of a search I want to do for any file that contains the
>> string "quarantine" in the filename.
>> It works for picking up any file name containing "quarantine" except when
>> "quarantine" is used as an extension.
>> For example, the search would find quarantine
Would this be a time when regex is necessary? Maybe:
\b[^.]*quarantine[^.]*\.[a-zA-Z]*\b
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Hello,
Below is a snippet of a search I want to do for any file that contains the
string "quarantine" in the filename.
It works for picking up any file name containing "quarantine" except when
"quarantine" is used as an extension.
For example, the search would find quarantine.txt but fails to f