<br clear="all">I'm a python newbie and I'm trying to test several regular expressions on the same line before moving on to next line.<br>it seems to move on to next line before trying all regular expressions which is my goal.<br>
it only returns true for first regular expression<br>does the curser have to be rest to beginning of line? If so, how would I do that.<br>remember I'm new<br>thanks in advance to any advice<br>Mike S.<br><br>the following is part of my code,<br>
readThis=open('c:/9320.txt','r')<br><br>
for line in readThis:<br>    try:<br>        thisKey = key.search(line).group(1)<br>        thisMap = map.search(line).group(1)<br>        thisParcel = parcel.search(line).group(1)<br>    except:<br>        continue<br>
  <br>