We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19065c7 + 38f4a7b commit ef797bfCopy full SHA for ef797bf
5-regular-expressions/04-regexp-escaping/article.md
@@ -30,7 +30,7 @@ alert( "function g()".match(/g\(\)/) ); // "g()"
30
If we're looking for a backslash `\`, then we should double it:
31
32
```js run
33
-alert( "1\2".match(/\\/) ); // '\'
+alert( "1\\2".match(/\\/) ); // '\'
34
```
35
36
## A slash
0 commit comments