re.compile for names
John Machin
sjmachin at lexicon.net
Mon May 21 18:05:41 EDT 2007
On 22/05/2007 12:02 AM, Paul McGuire wrote:
> On May 21, 8:46 am, brad <byte8b... at gmail.com> wrote:
>> The goal of the list is to have enough strings to identify files that
>> may contain the names of people. Missing a name in a file is unacceptable.
>>
Seems to me the OP is looking for people-names inside file-contents, not
inside file-names.
[snip]
> You will also get better results if you constrain the location of the
> match, for instance, looking for file names that *start* with
> someone's name, instead of just containing them somewhere.
YMevidentlyV :-)
More information about the Python-list
mailing list