From 19662d4fe30619ff7146c6ee10fdfdb41642be1f Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Fri, 21 Apr 2023 11:54:22 -0700 Subject: [PATCH] add verbage (#6025) --- tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md b/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md index 2e3067b10e1..c94ce6dd517 100644 --- a/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md +++ b/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md @@ -481,6 +481,8 @@ Add a more expansive Header sanitizer that uses a target group instead of filter } ``` +> Note: Regex strings are being passed as a member of a JSON object. As visible in the above example, escape characters must be _double escaped_. `\n` -> `\\n`. `\\` -> `\\\\`. Read the "string" description on [json.org](https://json.org) for more detail. + #### A note about where sanitizers apply Each sanitizer is optionally prefaced with the **specific part** of the request/response pair that it applies to. These prefixes are