iterate lines with regex

Michael Savarese geomajor56 at
Sat Aug 1 21:39:12 CEST 2009

I'm a python newbie and I'm trying to test several regular expressions on
the same line before moving on to next line.
it seems to move on to next line before trying all regular expressions which
is my goal.
it only returns true for first regular expression
does the curser have to be rest to beginning of line? If so, how would I do
remember I'm new
thanks in advance to any advice
Mike S.

the following is part of my code,

for line in readThis:
        thisKey =
        thisMap =
        thisParcel =
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list