24 lines
841 B
Plaintext
24 lines
841 B
Plaintext
From: R.Hooft at EuroMail.com (Rob Hooft)
|
|
Date: 26 Apr 1999 08:57:10 +0200
|
|
Subject: wrapped around the axle on regexpressions and file searching
|
|
References: <7frhe0$8g1$1@nnrp1.dejanews.com>
|
|
Message-ID: <m3lnffyim1.fsf@devel.no.rwd.dinet>
|
|
X-UID: 1531
|
|
|
|
>>>>> "m" == msrisney <msrisney at my-dejanews.com> writes:
|
|
|
|
m> here are my questions: 1. this prints out not only files with the
|
|
m> file extensions ".log" but also any file name that has "log" in
|
|
m> it's name. how would I rewrite to avoid??
|
|
|
|
How about using "fnmatch.fnmatch" instead of a regular expression?
|
|
|
|
--
|
|
===== R.Hooft at EuroMail.net http://www.xs4all.nl/~hooft/rob/ =====
|
|
===== R&D, Nonius BV, Delft http://www.nonius.nl/ =====
|
|
===== PGPid 0xFA19277D ========================== Use Linux! =========
|
|
|
|
|
|
|
|
|