We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f7421a commit 73590f9Copy full SHA for 73590f9
9-regular-expressions/09-regexp-groups/5-parse-expression/solution.md
@@ -18,7 +18,7 @@ let reg = /(-?\d+(\.\d+)?)\s*([-+*\/])\s*(-?\d+(\.\d+)?)/;
18
alert( "1.2 + 12".match(reg) );
19
```
20
21
-Результат включает:
+Результат `result` включает в себя:
22
23
- `result[0] == "1.2 + 12"` (полное совпадение)
24
- `result[1] == "1.2"` (первая группа `(-?\d+(\.\d+)?)` -- первое число, включая десятичную часть)
0 commit comments