Re: Quick compare string to list

2009-09-30 Thread Steven D'Aprano
On Wed, 30 Sep 2009 11:36:03 -0700, Scooter wrote: > I'm reading in a text file, and for each line in the file, I'm looking > for the existence of phrases from a list. The list contains approx. 120 > items currently but will most likely grow. This procedure itself is not > the main function of my

Re: Quick compare string to list

2009-09-30 Thread Bearophile
Scooter: > I'm reading in a text file, and for each line in the file, I'm looking > for the existence of phrases from a list. The list contains approx. > 120 items currently but will most likely grow. This procedure itself > is not the main function of my program and only grew out of the need > to

Re: Quick compare string to list

2009-09-30 Thread Emile van Sebille
On 9/30/2009 11:36 AM Scooter said... I'm reading in a text file, and for each line in the file, I'm looking for the existence of phrases from a list. The list contains approx. 120 items currently but will most likely grow. This procedure itself is not the main function of my program and only gre

Re: Quick compare string to list

2009-09-30 Thread Terry Reedy
Scooter wrote: I'm reading in a text file, and for each line in the file, I'm looking for the existence of phrases from a list. The list contains approx. 120 items currently but will most likely grow. This procedure itself is not the main function of my program and only grew out of the need to re