title: How do you do a contains query using the MongoDB node.js driver?
body: <p>I'm trying to do a search on items that contain a certain substring, but I'm getting no results back (even though I know the data is right for the query, including case):</p>
  
  <pre><code>collection.find({name: "/.*" + keyword + ".*/"}).toArray(function(err, items)
  </code></pre>
  
  <p>Should that not match everything that contains the keyword? It just returns an empty object.</p>
  
  <p>I'm just using the regular MongoDB driver in an ExpressJS app.</p>