commit
54ff266be7
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ The similar search in one of previous examples worked with `pattern:/\d\.\d/`, b
|
|||
|
||||
The reason is that backslashes are "consumed" by a string. As we may recall, regular strings have their own special characters, such as `\n`, and a backslash is used for escaping.
|
||||
|
||||
Here's how "\d\.\d" is preceived:
|
||||
Here's how "\d\.\d" is perceived:
|
||||
|
||||
```js run
|
||||
alert("\d\.\d"); // d.d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue