Thanks, corrected. I was happy now - and then too fast ;-). Cheers Christian On 19 Oct 2005, at 13:50, Kent Johnson wrote:
> Christian Meesters wrote: >> Actually, your answer did help to open my eyes. The expression is >> "\d+S[S|E]\.INF": Ouch! > > That will work, but what you really mean is one of these: > "\d+S[SE]\.INF" > "\d+S(S|E)\.INF" > > Your regex will match 0S|.INF > > Kent > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor