O'Reilly logo
  • Zezhong Zheng thinks this is interesting:

match = re.search("Hello world")

From

Cover of Mastering Python Regular Expressions

Note

Should be:
match = pattern.search("Hello world")