From 4f2df6a2cb9fbb7546617b76dff4a0a750e70c9f Mon Sep 17 00:00:00 2001 From: naganowl Date: Thu, 29 May 2014 14:06:38 -0700 Subject: [PATCH] Docs: Double escape regexp backslashes Backslashes in regular expressions inside parsed-literal blocks need to be double escaped in order to appear in the output. --- docs/config/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config/index.rst b/docs/config/index.rst index 52f2373e918d..9db3b81325d6 100644 --- a/docs/config/index.rst +++ b/docs/config/index.rst @@ -137,13 +137,13 @@ Putting it all together var options = { logger: 'my-logger', whitelistUrls: [ - /disqus\.com/, /getsentry\.com/ + /disqus\\.com/, /getsentry\\.com/ ], ignoreErrors: [ 'fb_xd_fragment', /ReferenceError:.*/ ], includePaths: [ - /https?:\/\/(www\.)?getsentry\.com/ + /https?:\\/\\/(www\\.)?getsentry\\.com/ ] }; Raven.config('https://public@app.getsentry.com/1', options).install();