Skip to content
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

Adds sigils translation, refs #6 #11

Merged
merged 2 commits into from Jul 29, 2017
Merged

Adds sigils translation, refs #6 #11

merged 2 commits into from Jul 29, 2017

Conversation

sobolevn
Copy link
Collaborator

No description provided.

sigils.md Outdated

## Регулярные выражения

Самый часто-используемый сигил в Эликсире - сигил [регулярных выражений](https://en.wikipedia.org/wiki/Regular_Expressions): `~r`.
Copy link
Member

Choose a reason for hiding this comment

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

часто используемый раздельно

sigils.md Outdated
Самый часто-используемый сигил в Эликсире - сигил [регулярных выражений](https://en.wikipedia.org/wiki/Regular_Expressions): `~r`.

```elixir
# Регулярное выражение, которое находит в строки "foo" или "bar":
Copy link
Member

Choose a reason for hiding this comment

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

в строкЕ

sigils.md Outdated
- `\xDD` - представляет один байт в восьмеричной записи (например `\x13`)
- `\uDDDD` и `\u{D...}` - представляют символ Юникода (например `\u{1F600}`)

В добавок, двойная кавычка внутри двойной кавычки должна быть экранирована как `\"`, аналогично и одинарная кавычка внутри одинарной кавычки `\'`. Тем не менее, лучше изменить разделители, чем использовать экранирование.
Copy link
Member

Choose a reason for hiding this comment

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

Вдобавок слитно

@sobolevn
Copy link
Collaborator Author

Fixed, thanks!

@rtrv rtrv merged commit 7f87f2a into wunsh:master Jul 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants