title: unable to escape "?" in the url rewriting in htaccess
body: <p><code>I have URL as: spa-shop/admin/index?docid=abc</code> ,For this URL i am using htacces Rewrite Rule.
  The rule is as follow:</p>
  
  <pre><code>RewriteRule ^((?i)spa-shop)/(admin)/([a-zA-Z\?]*)$             spavendor/index.php?url=spaAdmin/$3 [L]
  </code></pre>
  
  <p>In this the output which i am expecting is : <code>spashop/index.php?url=spaAdmin/index?docid=abc</code> ,
  but I am getting the URl as: <code>spashop/index.php?url=spaAdminShop/index</code>. Please let me know what is the problem though i am escaping the ? in the rewrite rule. But it seems not being escaped.</p>