title: D3.js: Attribute contains selector
body: <p>In <code>d3</code>, I want to select multiple elements which contain a class with "global_read" as a substring (for instance, global_read_foo, global_read_bar).
  Does <code>d3-select</code> offer something like <a href="https://api.jquery.com/attribute-contains-selector/" rel="nofollow noreferrer">jQuery's attribute contains selector</a>?</p>
  
  <p>When I tried <code>g.selectAll("g [class=*global_read]")</code> with <code>d3</code>, version 5.0, I got the following error:</p>
  
  <blockquote>
    <p>Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Element': 'g [class=*global_read]' is not a valid selector</p>
  </blockquote>