title: JavaScript Regex String with one asterisk
body: <p>I want to check if a string hast 0...n whitespace, one * and 0...n whitespace.</p>
  
  <p>The pattern</p>
  
  <pre><code> var derefpatt = new RegExp("\\s*\\*\\s*");  
   var res2 = derefpatt.test(string); 
  </code></pre>
  
  <p>is true if string is "   **   " but it should be only true if string is "   *  "</p>
  
  <p>What is wrong?</p>
  
  <p>Regards</p>
  
  <p>Alex</p>