title: Why does this not set hashtag[] to /#(\w+)/g
body: <p>I am trying to set the array hashtags to the hashtags in the string posttext, but it doesn't work. Here is the code.</p>
  
  <p>postsubmit.js</p>
  
  <pre><code> var posttext=$(e.target).find('[name=posttext]').val();
   var hashtag=posttext.match(/#\w+/g);
  
  var post = {
    title: $(e.target).find('[name=title]').val(),
    posttext:posttext,
    hashtag:hashtag
  }
  </code></pre>
  
  <p>post.js collection </p>
  
  <pre><code>var post = _.extend(_.pick(postAttributes, 'title', 'posttext','hashtag'), {
    userId: user._id, 
    username: user.username, 
    submitted: new Date().getTime(),
    commentsCount: 0,
    upvoters: [], votes: 0,
    hashtag:[]
  });
  </code></pre>