title: Javascript regex cross-browser discrepancy
body: <p>This piece of code brings different results from Firefox to IE8:</p>
  
  <pre><code>var text = "[AMOUNT] MILES DEDUCTED IN [CABIN] FOR [ORIGIN]";
  var splitArray = text.split(/[\[\]]/);
  alert(splitArray.length);   
  </code></pre>
  
  <p>In Firefox, the alert gives 7. 
  Whereas in IE, it gives 5.</p>
  
  <p>I tried... </p>
  
  <p><a href="https://stackoverflow.com/questions/2401914/javascript-regex-trouble-in-internet-explorer">Javascript RegEx trouble in Internet Explorer</a></p>
  
  <p>but it doesn't work.</p>
  
  <p>Any idea please? 
  Thanks!</p>