Skip to content

Commit

Permalink
fix[docs]: Prohibit newline characters in character
Browse files Browse the repository at this point in the history
  • Loading branch information
watcol committed Nov 23, 2021
1 parent a8bb222 commit d799276
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/language.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ rendered as one-character [strings](#string).
char1 = 'a'
```

In apostrophes, all Unicode characters are allowed, except an apostrophe or a
backslash (`U+005C`), and these escape sequences are available:
In apostrophes, all Unicode characters are allowed, except an apostrophe, a
backslash (`U+005C`), a line feed (`U+000A`), a carriage return (`U+000D`) and
these escape sequences are available:
- `\n` ... linefeed (`U+000A`)
- `\r` ... carriage return (`U+000D`)
- `\t` ... horizontal tab (`U+0009`)
Expand Down

0 comments on commit d799276

Please sign in to comment.