Skip to content

Commit bbfdd7a

Browse files
committed
Merge pull request #215 from naganowl/master
Docs: Double escape regexp backslashes
2 parents a6324ba + 4f2df6a commit bbfdd7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/config/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,13 @@ Putting it all together
137137
var options = {
138138
logger: 'my-logger',
139139
whitelistUrls: [
140-
/disqus\.com/, /getsentry\.com/
140+
/disqus\\.com/, /getsentry\\.com/
141141
],
142142
ignoreErrors: [
143143
'fb_xd_fragment', /ReferenceError:.*/
144144
],
145145
includePaths: [
146-
/https?:\/\/(www\.)?getsentry\.com/
146+
/https?:\\/\\/(www\\.)?getsentry\\.com/
147147
]
148148
};
149149
Raven.config('https://[email protected]/1', options).install();

0 commit comments

Comments
 (0)