Never mind. I need to cut back on the jolt, ha ha! Here is the solution for other newbies in the same boat as I. for line in lines: result = regex.search(line) if not result: print "Damn!" -- "Thinking gives you wrinkles!" Malibu Stacy, the Simpsons