title: Regex-invalid quantifier error in matching
body: <p>I'm trying to create a regexp using variables as i don't know the specific words</p>
  
  <p>so after placing the variable correctly i got this code </p>
  
  <pre><code>var newregxobj="(?=(?&lt;!kbWR"))(?=(?&lt;!none"))&gt;[0-9\.]+&lt;";
  </code></pre>
  
  <p>which i made REGEXP using </p>
  
  <pre><code>var re = new RegExp(newregxobj,"g");
  </code></pre>
  
  <p>when I try to use to in matching its shows up an error:</p>
  
  <blockquote>
    <p>SyntaxError: invalid quantifier</p>
  </blockquote>
  
  <p>I've tried to escape almost all quantifier but nothing happens .</p>
  
  <p>please help.</p>