title: How do I escape characters in GitHub code search?
body: <p>I'm trying to use <a href="https://github.com/search" rel="noreferrer">GitHub's code search</a> to search for some lines of code containing characters like <code>=</code>, <code>+</code>, etc.</p>
  
  <p>I understand from <a href="https://help.github.com/articles/searching-code/#considerations-for-code-search" rel="noreferrer">https://help.github.com/articles/searching-code/#considerations-for-code-search</a> that these characters are wildcards and have to be escaped, otherwise they will be ignored.</p>
  
  <p>Here's an example: <a href="https://github.com/search?q=%22if%20%5C%28done%20is%20True%5C%29%22&amp;ref=searchresults&amp;type=Code&amp;utf8=%E2%9C%93" rel="noreferrer">"if \(done is True\)"</a>, and another: <a href="https://github.com/search?utf8=%E2%9C%93&amp;q=%22if%20%28done%20is%20True%29%22&amp;type=Code&amp;ref=searchresults" rel="noreferrer">"if (done is True)"</a>. </p>
  
  <p>Both return the same <code>"your query contains a character that is ignored"</code> warning on the right side of the search bar. My escaping doesn't seem to be doing anything and the results I get are with the characters ignored.</p>