I thought the above would already match over multiple lines since ``\s`` includes newlines? I can change the regexp to make it less strict.