title: How javascript regexp.compile() works?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/884762/javascript-whats-the-point-of-regexp-compile">Javascript: what&#39;s the point of RegExp.compile()?</a>  </p>
  </blockquote>
  
  
  
  <p>Javascript is said to be an interpreted language, then how actually the compile method works for regular expressions. Does it is really compiles the pattern or it is just an abuse of notation.</p>