Updates proxy regex to catch newline character