I have a script that needs to scan every line of a file for numerous strings. There are groups of strings for each "area" of data we are looking for. Looping through each of these list of strings separately for each line has slowed execution to a crawl. Can I create ONE regular expression from a group of strings such that when I perform a search on a line from the file with this RE it will search the line for each one of the strings in the RE ?
Michelle
<<attachment: winmail.dat>>
-- http://mail.python.org/mailman/listinfo/python-list