title: php regex error, unknown modifier 'd'
body: <p>Im trying to search for something on a page but i keep getting this silly error</p>
  
  <p>this is the error i am getting</p>
  
  <p>Warning: preg_match() [function.preg-match]: Unknown modifier 'd'</p>
  
  <p>this is the code im using</p>
  
  <pre><code>$qa = file_get_contents($_GET['url']);
  preg_match('/&lt;a href="/download.php\?g=(?P&lt;number&gt;.+)"&gt;Click here&lt;/a&gt;/',$qa,$result);
  </code></pre>
  
  <p>And $_GET['url'] can eqaul many things but in one case it was <a href="http://freegamesforyourwebsite.com/game/18-wheeler--2.html" rel="nofollow">http://freegamesforyourwebsite.com/game/18-wheeler--2.html</a> </p>
  
  <p>the the html of that url basically </p>
  
  <p>Anyone got a clue :S ? I dont even know where to start cus i dont know what a modifire is and the php.net site is no help</p>
  
  <p>thankyou !</p>