fixes, renovations

This commit is contained in:
Ilya Kantor 2015-03-24 00:03:51 +03:00
parent 3889056599
commit bc34b2fc9d
133 changed files with 189 additions and 10 deletions

View file

@ -1,13 +0,0 @@
Целое число с необязательной дробной частью -- это <code class="pattern">\d+(\.\d+)?</code>.
К этому нужно добавить необязательный `-` в начале:
```js
//+ run
var re = /-?\d+(\.\d+)?/g
var str = "-1.5 0 2 -123.4.";
alert( str.match(re) ); // -1.5, 0, 2, -123.4
```