Removed the 'm' modifier in my regex patterns.

It turns out that the multiline modifiers works exactly opposite to my
understanding. This modifier was unnecessary anyway in almost every
pattern, but I removed it anyway to prevent any problems from
developing in future updates.