title: Use variable with regex to find data in mongodb (Meteor app)
body: <p>I need to get data from Mongodb that in dependence of what I am searching. In the next two examples it work fine:<br>
  //example 1;</p>
  
  <pre><code>var variable = "car"; Items.find({"description": variable}).fetch();
  </code></pre>
  
  <p>//example2;</p>
  
  <pre><code>Items.find({"description": /.*car.*/}).fetch();
  </code></pre>
  
  <p>but, when I want to combine variable with regex in MongoDB query it returns nothing, what am I doing wrong:</p>
  
  <pre><code>Items.find({"description": /.*variable.*/}).fetch();
  Items.find({"description": "/.*"+variable+".*/"}).fetch();
  </code></pre>
  
  <p>Thanks in advance.</p>