I am trying to match a string 'hello world' to a sentence. I think that means it searches the sentence for that string and returns a value that indicates a success.
But when I try this code, all that prints out is 'None'.
import re
sentence = "why do we write hello world so often?"
match1 = re.match('hello world', sentence)
print match1