title: RegEx special characters detection failing on server
body: <p>Users of my app can create hashtags in comments and image captions, these tags can include letters with special characters like <code>á</code> and <code>ä</code> for example. </p>
  
  <p>To detect these characters I use the following: </p>
  
  <pre><code>content.scan(/\#[[:alnum:]]+/)
  </code></pre>
  
  <p>So if I have the following: <code>"This is a #tëst"</code> the regex should grab the word <code>tëst</code>. Locally it works just fine but on my server it gets cut off at the t before the ë and ignores the rest of the word. Any idea why this is? or how I can make a regex that works both on development and production without issue?</p>