regex dot should not generate newline