title: Casbah/Salat: How to query a field that a part of a string is contained?
body: <p>i try to write a query with Casbah and Salat to query a field that it includes parts of a name. 
  I tried to use a regular expression like this (inside a SalatDAO): </p>
  
  <pre><code>val regexp = (""".*"""+serverName+""".*""").r
  val query = "serverName" -&gt; regexp
  val result = find(MongoDBObject(query))
  </code></pre>
  
  <p>and with </p>
  
  <pre><code>val regexp = ".*"+serverName+".*"
  </code></pre>
  
  <p>The record is in MongoDB and when i search it with the complete name it works. </p>
  
  <p>How is the right way to tell casbah to search for a part of the string ? </p>
  
  <p>Another thing that i would like to fix is the string concatenation for the parameter. 
  Is there any default way to escape input parameters with casbah, so the parameter is not 
  interpreted as a javascript command ? </p>
  
  <p>Best Regards, 
  Oliver </p>