Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    What are the restrictions on the key and value? Single words? Are quoted strings ok? Are multi-line value ok? Are values containing = ok? Commented Jun 26, 2018 at 14:26
  • Only has to match <word>=<word> Commented Jun 26, 2018 at 14:42
  • Right, but can a "word" be preference=apple-juice for a valid line reading drink=preference=apple-juice? Are spaces allowed before and/or after the =? Commented Jun 26, 2018 at 15:26
  • No. This file content has to be an env format file. Commented Jun 26, 2018 at 15:27
  • Do you mean that key1=value with spaces should be rejected, or that it should be parsed as key=key1 and value=value with spaces? Commented Jun 27, 2018 at 15:28