Chad Netzer <cnetzer at mail.arc.nasa.gov> writes: > match = re.match(pattern, string) > if match is not None: > # do something with match object > > Since if's can test for more than boolean values, and match is defined > to return None when it fails to match anything, not a False value. Can a match object ever test as false?