Merge pull request #261 from YNataly/patch-5

Update article.md
This commit is contained in:
Ilya Kantor 2017-11-01 10:51:08 +03:00 committed by GitHub
commit ef797bffb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ alert( "function g()".match(/g\(\)/) ); // "g()"
If we're looking for a backslash `\`, then we should double it:
```js run
alert( "1\2".match(/\\/) ); // '\'
alert( "1\\2".match(/\\/) ); // '\'
```
## A slash