Improve "excess newline" regex