renovations
This commit is contained in:
parent
0d6ca23fb7
commit
59388d093e
37 changed files with 269 additions and 160 deletions
|
@ -13,7 +13,7 @@
|
|||
```js
|
||||
//+ run
|
||||
var re = /"(\\.|[^"\\])*"/g;
|
||||
var str = '.. "test me" .. "Скажи \\"Привет\\"!" .. "\\r\\n" ..';
|
||||
var str = '.. "test me" .. "Скажи \\"Привет\\"!" .. "\\r\\n\\\\" ..';
|
||||
|
||||
alert( str.match(re) ); // "test me","Скажи \"Привет\"!","\r\n"
|
||||
alert( str.match(re) ); // "test me","Скажи \"Привет\"!","\r\n\\"
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue