title: Allowing for quotes and unicode in PEG.js grammar definitions
body: <p>How would one allow for single and double quotes, as well as unicode characters inside of a PEG.js grammar definition? To be more specific, I'd like to be able to capture strings that can contain both single and double quotes (will most likely have to be \ escaped) and all unicode characters.</p>
  
  <p>At the moment I have something like the following:</p>
  
  <p><code>_ name:$(PROP_ASCII+) CHAR_SQ val:$(PROP_ASCII_INNER*) CHAR_SQ</code></p>
  
  <p>which would capture something like </p>
  
  <p><code>key'value'</code></p>
  
  <p>PROP_ASCII* is defined as</p>
  
  <p><code>PROP_ASCII
      = [!-&amp;(-&lt;&gt;-~]
  </code>
  <code>PROP_ASCII_INNER
      = [ -&amp;(-~]
  </code></p>
  
  <p>So this works fine and dandy if value contains standard ASCII characters and does not contain single quotes... But I'd like to support what I've described above, so something like this would become possible:</p>
  
  <p><code>key'somé\'value\'☂'
  </code></p>
  
  <p>Thoughts?</p>