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

Allow empty values in the spec #47

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,12 @@ The types of lines are:
- Key-Value Pair (or Pair): contains a key and a value, separated by an ``=``.
cxw42 marked this conversation as resolved.
Show resolved Hide resolved
See :ref:`supported-pairs`.

- Key: The part before the first ``=`` (trimmed of whitespace, but including
any whitespace in the middle).
- Value: The part after the first ``=`` (trimmed of whitespace, but including
any whitespace in the middle).
- Key: The part before the first ``=`` on the line.
- Value: The part, if any, after the first ``=`` on the line.
- Keys and values are trimmed of leading and trailing whitespace, but
include any whitespace that is between non-whitespace characters.
- If a value is not provided, then the value is an empty string
(i.e., ``""`` in C or Python).

Any line that is not one of the above is invalid.

Expand Down