diff --git a/9-regular-expressions/17-regexp-methods/article.md b/9-regular-expressions/17-regexp-methods/article.md index ef578020..d4d00b69 100644 --- a/9-regular-expressions/17-regexp-methods/article.md +++ b/9-regular-expressions/17-regexp-methods/article.md @@ -86,7 +86,7 @@ alert( firstMatch.index ); // 0 alert( firstMatch.input ); //

Hello, world!

``` -If we use `for..of` to loop over `matchAll` matches, then we don't need `Array.from`, разумеется, не нужен. +If we use `for..of` to loop over `matchAll` matches, then we don't need `Array.from` any more. ## str.split(regexp|substr, limit) @@ -144,7 +144,6 @@ alert( '12-34-56'.replace( *!*/-/g*/!*, ":" ) ) // 12:34:56 The second argument is a replacement string. We can use special character in it: -| Symbols | Action in the replacement string | | Symbols | Action in the replacement string | |--------|--------| |`$&`|inserts the whole match|