I have managed to determine that perl’s substitution operator no longer considers “\n” to be matched with the “.” regular expression character. Since when is \n not part of “any” character?! WTF??? Actually, it’s even worse than that; having “\n” in a string just seems to break regular expression matching altogether.  This makes NO sense and should NOT be happening. I just rebooted too. (more…)