title: Invalid regular expression:: Range out of order in character class
body: <p>I'm trying to use some protocol buffer code generated with <code>protoc</code> for javascript. I got some javascript files that i can import (after choosing the <code>commonjs</code> style) into other javascript files. </p>
  
  <p>I've installed an npm dependency called <code>google-protobuf</code> and am able to bundle all javascript with webpack. When i try to run the page in firefox i get no errors related to this, chrome however gives me:</p>
  
  <pre><code>Invalid regular expression: /[Ö‘-Û¯Ûº-à£¿â€�-��-�ï¬-ï·¿ï¹°-ï»¼]/: Range out of order in character class
  </code></pre>
  
  <p>I've tried adding some additional tags to <code>&lt;meta&gt;</code> and <code>&lt;script&gt;</code> and they don't work. I've never seen an error like this and don't know where to start looking. </p>
  
  <p>The end goal is, i'd like all my <code>npm i</code> and all my <code>import { Foo } from 'foo.js'</code> to work on a web page without errors. </p>
  
  <p>What webpack injected using <code>HTMLWebpackPlugin</code> is:</p>
  
  <pre><code>&lt;script type="text/javascript" src="frontseat.bundle.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Originally there are no <code>&lt;meta&gt;</code> tags, i just added the one under head so it looks:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8"&gt;
          &lt;title&gt;...
  </code></pre>