title: css selector using Cheerio exclusion of double class
body: <p>I have a rather "weird" scenario (web scraping). I want to select <code>class=g</code> only but <strong>not</strong> those with <code>class="g g"</code> (double class <code>g</code>). How to do that in jQuery? </p>
  
  <p>If I use $('.g'), it will select both <code>.g</code> and <code>.g .g</code></p>
  
  <p><strong>UPDATE 1:</strong></p>
  
  <p>If you don't think <code>.g .g</code> is valid, do View Source in Google search results ;)</p>