commit
ef797bffb6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue