s = 'This is an example string'
print(match(s), ':', repr(s))
s = """This is an 
 example string"""
print(match(s), ':', repr(s))
s = """This is 
 an unmatching string"""
print(match(s), ':', repr(s))
Matching a string that's arbitrarily splits over multiple lines