@@ -95,7 +95,7 @@ hosts = [
95
95
Spec
96
96
----
97
97
98
- * TOML is case sensitive.
98
+ * TOML is case- sensitive.
99
99
* A TOML file must be a valid UTF-8 encoded Unicode document.
100
100
* Whitespace means tab (0x09) or space (0x20).
101
101
* Newline means LF (0x0A) or CRLF (0x0D 0x0A).
@@ -157,7 +157,7 @@ first = "Tom" last = "Preston-Werner" # INVALID
157
157
Keys
158
158
----
159
159
160
- A key may be either bare, quoted or dotted.
160
+ A key may be either bare, quoted, or dotted.
161
161
162
162
** Bare keys** may only contain ASCII letters, ASCII digits, underscores, and
163
163
dashes (` A-Za-z0-9_- ` ). Note that bare keys are allowed to be composed of only
@@ -393,7 +393,7 @@ str7 = """"This," she said, "is just a pointless statement.""""
393
393
```
394
394
395
395
If you're a frequent specifier of Windows paths or regular expressions, then
396
- having to escape backslashes quickly becomes tedious and error prone. To help,
396
+ having to escape backslashes quickly becomes tedious and error- prone. To help,
397
397
TOML supports literal strings which do not allow escaping at all.
398
398
399
399
** Literal strings** are surrounded by single quotes. Like basic strings, they
@@ -440,8 +440,8 @@ str = ''''That,' she said, 'is still pointless.''''
440
440
```
441
441
442
442
Control characters other than tab are not permitted in a literal string. Thus,
443
- for binary data it is recommended that you use Base64 or another suitable ASCII
444
- or UTF-8 encoding. The handling of that encoding will be application specific.
443
+ for binary data, it is recommended that you use Base64 or another suitable ASCII
444
+ or UTF-8 encoding. The handling of that encoding will be application- specific.
445
445
446
446
Integer
447
447
-------
@@ -471,7 +471,7 @@ identical to an unprefixed zero.
471
471
472
472
Non-negative integer values may also be expressed in hexadecimal, octal, or
473
473
binary. In these formats, leading ` + ` is not allowed and leading zeros are
474
- allowed (after the prefix). Hex values are case insensitive. Underscores are
474
+ allowed (after the prefix). Hex values are case- insensitive. Underscores are
475
475
allowed between digits (but not between the prefix and the value).
476
476
477
477
``` toml
@@ -568,7 +568,7 @@ odt3 = 1979-05-27T00:32:00.999999-07:00
568
568
```
569
569
570
570
For the sake of readability, you may replace the T delimiter between date and
571
- time with a space (as permitted by RFC 3339 section 5.6).
571
+ time with a space character (as permitted by RFC 3339 section 5.6).
572
572
573
573
``` toml
574
574
odt4 = 1979-05-27 07:32:00Z
@@ -585,8 +585,8 @@ Local Date-Time
585
585
If you omit the offset from an [ RFC 3339] ( http://tools.ietf.org/html/rfc3339 )
586
586
formatted date-time, it will represent the given date-time without any relation
587
587
to an offset or timezone. It cannot be converted to an instant in time without
588
- additional information. Conversion to an instant, if required, is implementation
589
- specific.
588
+ additional information. Conversion to an instant, if required, is
589
+ implementation- specific.
590
590
591
591
``` toml
592
592
ldt1 = 1979-05-27T07:32:00
@@ -721,12 +721,12 @@ how to do it for you.
721
721
# [x.y.z] need these
722
722
[x .y .z .w ] # for this to work
723
723
724
- [x ] # defining a super-table afterwards is ok
724
+ [x ] # defining a super-table afterward is ok
725
725
```
726
726
727
727
Empty tables are allowed and simply have no key/value pairs within them.
728
728
729
- Like keys, you cannot define any table more than once. Doing so is invalid.
729
+ Like keys, you cannot define a table more than once. Doing so is invalid.
730
730
731
731
```
732
732
# DO NOT DO THIS
0 commit comments