Skip to content

Commit 29acf2a

Browse files
authored
Update Unicode Syntax.md
1 parent b99306b commit 29acf2a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

lib/elixir/pages/Unicode Syntax.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ Elixir supports Unicode throughout the language.
44

55
Quoted identifiers, such as strings (`"olá"`) and charlists (`'olá'`), support Unicode since Elixir v1.0. Strings are UTF-8 encoded. Charlists are lists of Unicode codepoints. In such cases, the contents are kept as written by developers, without any transformation.
66

7-
Elixir also supports Unicode in identifiers since Elixir v1.5, as defined in the [Unicode Annex #31](http://unicode.org/reports/tr31/). This is the focus of this document.
7+
Elixir also supports Unicode in identifiers since Elixir v1.5, as defined in the [Unicode Annex #31](http://unicode.org/reports/tr31/). The focus of this document is to describe how Elixir implements the requirements outlined in the Unicode Annex. These requirements are refered to as R1, R6 and so on.
88

9-
## Version
10-
11-
The Unicode Annex specify a list of requirements that may or may not be implemented by programming languages. This document lists all of the requirements implemented by Elixir, refered as R1, R6 and so on.
12-
13-
To check the Unicode version of your current Elixir installation, please run `String.Unicode.version()`.
9+
To check the Unicode version of your current Elixir installation, run `String.Unicode.version()`.
1410

1511
## R1. Default Identifiers
1612

17-
Elixir identifiers are identified as:
13+
Elixir identifiers are specified as:
1814

1915
<Identifier> := <Start> <Continue>* <Ending>?
2016

@@ -47,7 +43,6 @@ Variables in Elixir follow the identifier rule above with the following modifica
4743

4844
* `<Start>` includes the codepoint _ (005F)
4945
* `<Start>` must not include Lu (letter uppercase) and Lt (letter titlecase) characters
50-
* `<Continue>` includes Lu (letter uppercase) and Lt (letter titlecase) characters
5146

5247
## R3. Pattern_White_Space and Pattern_Syntax Characters
5348

0 commit comments

Comments
 (0)