updated diff regex

regex now works with files that are escaped
with a newline character