title: JavaScript do not escape \ character?
body: <p>I'm building a query for YQL, and I've ran into a dumb issue. I wont be pasting in the entire query as there is no need, just the part I'm having the issue with:</p>
  
  <pre><code>var query = encodeURI("... and xpath='//div[@class=\\'body bodySign\\']/p' ...")';
  </code></pre>
  
  <p>As you may notice, I've added two <code>\</code> characters, it is need for the actual query. I'm using multi queries, and I need to double esacpe the <code>'</code> character in order for them to parse correctly inside YQL.</p>
  
  <p>But JavaScript escapes the <code>\</code> character. It doesn't matter how many <code>\</code> I add (to "escape" to following <code>\</code> character) I still get left with only one <code>\</code> in my query.</p>
  
  <p>How do I keep multiple <code>\</code> characters without them escaping each other?</p>
  
  <p>Thanks</p>