title: Parse key-value pairs with pyparsing where values may continue over multiple lines
body: <p>How can I parse key-property definitions such as the following with <code>pyparsing</code>?</p>
  
  <pre><code>some_key a b c d
  other_key /some/path /some/other/path.pl \
    '$SOME_ENV_VAR$' \
    '$OTHER_ENV_VAR$'
  </code></pre>
  
  <p>Keys in this example are <code>some_key</code> and <code>other_key</code>. Values are the rests of the lines including <code>[ \t]</code> after whitespace that is following the key names, with an option for line continuation with <code>\</code>.</p>
  
  <p>I am relatively new to <code>pyparsing</code> and this exceeds my current capabilities.</p>