fixing regex to ignore whitespace diffs