minor
This commit is contained in:
parent
5e8edafbe1
commit
876674fc37
1 changed files with 1 additions and 1 deletions
|
@ -9,5 +9,5 @@ let reg = /your regexp/g;
|
||||||
|
|
||||||
let str = "-1.5 0 2 -123.4.";
|
let str = "-1.5 0 2 -123.4.";
|
||||||
|
|
||||||
alert( str.match(re) ); // -1.5, 0, 2, -123.4
|
alert( str.match(reg) ); // -1.5, 0, 2, -123.4
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue