Skip to content

Capturing groups#441

Merged
dolgachio merged 2 commits intojavascript-tutorial:masterfrom
SamGreenberg:capturing-groups
Mar 25, 2023
Merged

Capturing groups#441
dolgachio merged 2 commits intojavascript-tutorial:masterfrom
SamGreenberg:capturing-groups

Conversation

@SamGreenberg
Copy link
Contributor

No description provided.

Copy link
Collaborator

@dolgachio dolgachio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Дякую за переклад і ваш внесок! Я додав кілька коментарів до тексту, з вашого боку нічого більше не треба, я сам внесу необхідні зміни

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let str = "Gogogo Іван!";
let str = "Gogogo John!";

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
alert( result[0] ); // Gogogo Іван (повний збіг)
alert( result[0] ); // Gogogo John (повний збіг)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
alert( result[1] ); // Іван
alert( result[1] ); // John

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
alert( result.length ); // 2 (інших елементів у масиві нема)
alert( result.length ); // 2 (інших елементів у масиві немає)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Метод `str.match` повертає групи захоплення лише без прапору `pattern:g`.
- Метод `str.match` повертає групи захоплення лише без прапорцю `pattern:g`.

@javascript-translate-bot
Copy link
Contributor

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@dolgachio
Copy link
Collaborator

@all-contributors add @SamGreenberg for translation

@allcontributors
Copy link
Contributor

@stas-dolgachov

@SamGreenberg already contributed before to translation

@dolgachio dolgachio merged commit 0dc4838 into javascript-tutorial:master Mar 25, 2023
@javascript-translate-bot
Copy link
Contributor

Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments