-
Notifications
You must be signed in to change notification settings - Fork 180
Lookahead and lookbehind #439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Дякую, за ваш внесок! Вибачаюсь, що так довго перевіряв.
Я сам внесу всі необхідні зміни і прийму ваш пулл реквест
9-regular-expressions/14-regexp-lookahead-lookbehind/1-find-non-negative-integers/solution.md
Outdated
Show resolved
Hide resolved
9-regular-expressions/14-regexp-lookahead-lookbehind/1-find-non-negative-integers/solution.md
Outdated
Show resolved
Hide resolved
9-regular-expressions/14-regexp-lookahead-lookbehind/1-find-non-negative-integers/solution.md
Outdated
Show resolved
Hide resolved
9-regular-expressions/14-regexp-lookahead-lookbehind/1-find-non-negative-integers/solution.md
Outdated
Show resolved
Hide resolved
9-regular-expressions/14-regexp-lookahead-lookbehind/1-find-non-negative-integers/task.md
Outdated
Show resolved
Hide resolved
|
||
But generally lookaround is more convenient. | ||
Але загалом перегляд уперед і назад більш підходящі. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Але загалом перегляд уперед і назад більш підходящі. | |
Але загалом перевірка уперед і назад більш підходящі. |
| `X(?!Y)` | Negative lookahead | `pattern:X` if not followed by `pattern:Y` | | ||
| `(?<=Y)X` | Positive lookbehind | `pattern:X` if after `pattern:Y` | | ||
| `(?<!Y)X` | Negative lookbehind | `pattern:X` if not after `pattern:Y` | | ||
| `X(?=Y)` | Позитивний перегляд уперед | `pattern:X` якщо за ним йде `pattern:Y` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `X(?=Y)` | Позитивний перегляд уперед | `pattern:X` якщо за ним йде `pattern:Y` | | |
| `X(?=Y)` | Позитивна перевірка уперед | `pattern:X` якщо за ним йде `pattern:Y` | |
| `(?<=Y)X` | Positive lookbehind | `pattern:X` if after `pattern:Y` | | ||
| `(?<!Y)X` | Negative lookbehind | `pattern:X` if not after `pattern:Y` | | ||
| `X(?=Y)` | Позитивний перегляд уперед | `pattern:X` якщо за ним йде `pattern:Y` | | ||
| `X(?!Y)` | Негативний перегляд уперед | `pattern:X` якщо за ним не йде `pattern:Y` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `X(?!Y)` | Негативний перегляд уперед | `pattern:X` якщо за ним не йде `pattern:Y` | | |
| `X(?!Y)` | Негативна перевірка уперед | `pattern:X` якщо за ним не йде `pattern:Y` | |
| `(?<!Y)X` | Negative lookbehind | `pattern:X` if not after `pattern:Y` | | ||
| `X(?=Y)` | Позитивний перегляд уперед | `pattern:X` якщо за ним йде `pattern:Y` | | ||
| `X(?!Y)` | Негативний перегляд уперед | `pattern:X` якщо за ним не йде `pattern:Y` | | ||
| `(?<=Y)X` | Позитивний перегляд назад | `pattern:X` якщо він йде після `pattern:Y` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `(?<=Y)X` | Позитивний перегляд назад | `pattern:X` якщо він йде після `pattern:Y` | | |
| `(?<=Y)X` | Позитивна перевірка назад | `pattern:X` якщо він йде після `pattern:Y` | |
| `X(?=Y)` | Позитивний перегляд уперед | `pattern:X` якщо за ним йде `pattern:Y` | | ||
| `X(?!Y)` | Негативний перегляд уперед | `pattern:X` якщо за ним не йде `pattern:Y` | | ||
| `(?<=Y)X` | Позитивний перегляд назад | `pattern:X` якщо він йде після `pattern:Y` | | ||
| `(?<!Y)X` | Негативний перегляд назад | `pattern:X` якщо тільки він не йде після `pattern:Y` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `(?<!Y)X` | Негативний перегляд назад | `pattern:X` якщо тільки він не йде після `pattern:Y` | | |
| `(?<!Y)X` | Негативна перевірка назад | `pattern:X` якщо тільки він не йде після `pattern:Y` | |
Please make the requested changes. After it, add a comment "/done". |
@all-contributors add @MrsMelnychenko for translation |
@stas-dolgachov @MrsMelnychenko already contributed before to translation |
Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉 |
No description provided.