Why doesn't the second match find 'bb'? >>> print re.compile( "b(.)", re.M ).match( "bb" ) <re.MatchObject instance at 1013a218> >>> print re.compile( "b(.)", re.M ).match( "aa\nbb" ) None Thanks, Randall