> > I want to know if there is some way to make Python RE behave like grep > does, or do I have to change to another engine? Maybe if you posted a (tested) grep example and data, that does as you want, the group could better understand what you are asking for? - Paddy.