Uh oh!
There was an error while loading. Please reload this page.
Capturing groups - #441
Conversation
dolgachio
left a comment
There was a problem hiding this comment.
Дякую за переклад і ваш внесок! Я додав кілька коментарів до тексту, з вашого боку нічого більше не треба, я сам внесу необхідні зміни
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| ```js run | ||
| let str = "Gogogo John!"; | ||
| let str = "Gogogo Іван!"; |
There was a problem hiding this comment.
| let str = "Gogogo Іван!"; | |
| let str = "Gogogo John!"; |
| alert( result[0] ); // Gogogo John (full match) | ||
| alert( result[1] ); // John | ||
| alert( result.length ); // 2 (no more items in the array) | ||
| alert( result[0] ); // Gogogo Іван (повний збіг) |
There was a problem hiding this comment.
| alert( result[0] ); // Gogogo Іван (повний збіг) | |
| alert( result[0] ); // Gogogo John (повний збіг) |
| alert( result[1] ); // John | ||
| alert( result.length ); // 2 (no more items in the array) | ||
| alert( result[0] ); // Gogogo Іван (повний збіг) | ||
| alert( result[1] ); // Іван |
There was a problem hiding this comment.
| alert( result[1] ); // Іван | |
| alert( result[1] ); // John |
| alert( result.length ); // 2 (no more items in the array) | ||
| alert( result[0] ); // Gogogo Іван (повний збіг) | ||
| alert( result[1] ); // Іван | ||
| alert( result.length ); // 2 (інших елементів у масиві нема) |
There was a problem hiding this comment.
| alert( result.length ); // 2 (інших елементів у масиві нема) | |
| alert( result.length ); // 2 (інших елементів у масиві немає) |
| - The method `str.match` returns capturing groups only without flag `pattern:g`. | ||
| - The method `str.matchAll` always returns capturing groups. | ||
| - Метод `str.match` повертає групи захоплення лише без прапору `pattern:g`. |
There was a problem hiding this comment.
| - Метод `str.match` повертає групи захоплення лише без прапору`pattern:g`. | |
| - Метод `str.match` повертає групи захоплення лише без прапорцю`pattern:g`. |
javascript-translate-bot
commented
Mar 25, 2023
Please make the requested changes. After it, add a comment "/done". |
dolgachio
commented
Mar 25, 2023
@all-contributors add @SamGreenberg for translation |
@stas-dolgachov @SamGreenberg already contributed before to translation |
javascript-translate-bot
commented
Mar 25, 2023
Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉 |
No description provided.