title: JavaScript - match non-ascii symbols using regex
body: <p>I want to match all mentioned users in comment. Example:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var comment = '@Agneš, @Petar, please take a look at this';
  var mentionedUsers = comment.match(/@\w+/g);
  
  console.log(mentionedUsers)</code></pre>
  </div>
  </div>
  </p>
  
  <p>I'm expecting <code>["@Agneš", "@Petar"]</code> but getting <code>["@Agne", "@Petar"]</code>. As you can see <code>š</code> symbol is not matched.</p>
  
  <p>How can I match all letter symbols include non-ascii?</p>