Fill in string escapes table (#60)

This commit is contained in:
Lars Willighagen 2020-12-29 20:27:37 +01:00 committed by GitHub
parent 0251a090f7
commit 89b52b2145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

20
SPEC.md
View File

@ -180,16 +180,16 @@ In addition to literal code points, a number of "escapes" are supported.
"Escapes" are the character `\` followed by another character, and are "Escapes" are the character `\` followed by another character, and are
interpreted as described in the following table: interpreted as described in the following table:
| Name | Escape | Code Pt | | Name | Escape | Code Pt |
|------|--------|---------| |-------------------------------|--------|----------|
| TODO | `\n` | TODO | | Line Feed | `\n` | `U+000A` |
| TODO | `\r` | TODO | | Carriage Return | `\r` | `U+000D` |
| TODO | `\t` | TODO | | Character Tabulation (Tab) | `\t` | `U+0009` |
| TODO | `\\` | TODO | | Reverse Solidus (Backslash) | `\\` | `U+005C` |
| TODO | `\"` | TODO | | Quotation Mark (Double Quote) | `\"` | `U+0022` |
| TODO | `\b` | TODO | | Backspace | `\b` | `U+0008` |
| TODO | `\f` | TODO | | Form Feed | `\f` | `U+000C` |
| TODO | `\u{(0-6 hex chars)}` | Code point described by hex characters, up to `10FFF` | | Unicode Escape | `\u{(0-6 hex chars)}` | Code point described by hex characters, up to `10FFF` |
### Raw String ### Raw String