use multiline mode in Regexp

Without it, there is not possibility to replace content that spans multiple lines. If someone still needs single line semantics, he could use the dollar and carret operators.