Why does
not re.match("c", "cat")
return False, but
re.match("c", "cat")
Does not return True but instead returns the location of the object in memory. I can't find a way to make this statement return true, but I know it is true because:
if re.match("c", "cat"):
print "Yes!"
returns "Yes!".
As I said, this is of no practical significance, at least not at the moment, but it does puzzle me.