Why is JavaScript's regular expression literal syntax considered a design error?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3078418/whats-wrong-with-javascripts-regular-expression-notation">What&#39;s wrong with JavaScript&#39;s regular expression notation?</a>  </p>
</blockquote>



<p><a href="http://www.crockford.com/javascript/javascript.html" rel="nofollow">Crockford says</a>...</p>

<blockquote>
  <p>Semicolon insertion was a huge mistake, <strong>as was the notation for literal regular expressions</strong>.</p>
</blockquote>

<p>What is the design error with the literal regular expressions? The only one I can think of is that some IDEs don't parse the syntax correctly.</p>
